[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"cms-rendering-page:newportai.com:\u002Fmodels\u002Fdreamimage-2.0:en":3},{"modules":4,"page_title":-1,"page_content":-1,"page_style":-1,"root":246,"seo":350},[5],{"code":6,"component_id":-1,"dataSource":7,"component_source":-1,"component_version":236,"client_bundle_path":237,"server_bundle_path":238,"css_paths":239,"manifest_path":241,"global_name":242,"ssr_enabled":19,"build_hash":243,"integrity":-1,"module_sort":244,"module_enabled":245},"models-dreamimage-2-0",{"modelName":8,"hero":9,"sections":28,"plans":162,"pricing":188,"faq":204,"finalCta":227},"DreamImage 2",{"eyebrow":10,"title":11,"highlight":12,"suffix":13,"description":14,"media":15,"primaryButton":20,"secondaryButton":24},"Edit what matters. Keep everything else.","DreamImage","2","","Change a background, remove distractions, or replace one specific object with a natural-language prompt. DreamImage 2 brings focused AI image editing to DreamAPI.",{"type":16,"url":17,"poster":13,"alt":18,"muted":19},"image","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F44bcf74d-d802-4d88-a111-783806547060.png","Temporary placeholder: DreamImage 2 material transformation placeholder",true,{"label":21,"url":22,"variant":23},"View API Docs","https:\u002F\u002Fapi.newportai.com\u002Fapi-docs\u002Fdreamimage-2.0?referer=newportai","primary",{"label":25,"url":26,"variant":27},"Try in Playground","https:\u002F\u002Fapi.newportai.com\u002Fapi-docs\u002Fdreamimage-2.0?activeTab=playground&referer=newportai","ghost",[29,58,99,137],{"id":30,"type":31,"eyebrow":32,"title":33,"highlight":34,"description":35,"note":13,"media":36,"items":37,"rows":54,"codeTabs":55,"facts":56,"buttons":57},"capabilities","cards","Capabilities","One image.","One clear edit.","Describe the change you want. DreamImage 2 applies it while keeping the subject, composition, and visual context recognizable.",{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[38,42,46,50],{"label":13,"title":39,"description":40,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":41},"Change materials & backgrounds","Restyle an image, change how surfaces look, or place the subject in a new setting. Natural-language direction keeps the edit easy to describe and easy to repeat.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":43,"description":44,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":45},"Remove unwanted objects","Clean up crowded photos without rebuilding the whole scene. Remove people, clutter, or distracting elements and let the model fill the space around the edit.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":47,"description":48,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":49},"Replace a specific object","Point the prompt at one item and say what should take its place. DreamImage 2 updates the selected object while preserving the wider image.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":51,"description":52,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":53},"Simple workflow","DreamImage 2 keeps the workflow focused: one source image, one instruction, one edited result.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"id":59,"type":60,"eyebrow":61,"title":62,"highlight":63,"description":64,"note":13,"media":65,"items":66,"rows":95,"codeTabs":96,"facts":97,"buttons":98},"examples","references","Before & after","Original in.","Edited out.","Each edit keeps the original structure and content — only the part you describe changes.",{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[67,74,81,88],{"label":68,"title":69,"description":70,"value":13,"href":13,"before":71,"after":72,"beforeAlt":13,"afterAlt":13,"media":73},"Materials & backgrounds","Restyle any surface in one pass.","Render the character as hyper-detailed hand embroidery artwork while preserving the original pose and structure.","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F56303c24-e26b-4105-b709-3317cc13717f.png","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F953aaf2a-e913-40b9-8dfc-9a7a7a988eb1.png",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":75,"title":76,"description":77,"value":13,"href":13,"before":78,"after":79,"beforeAlt":13,"afterAlt":13,"media":80},"Style transfer","Change the look, keep the subject.","Change this image to a 90s retro anime style.","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F0b9f4d46-bca3-4c46-8ab6-04d25a007802.png","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F1ae2465c-800b-4d53-abc3-05ca3aea5616.png",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":82,"title":83,"description":84,"value":13,"href":13,"before":85,"after":86,"beforeAlt":13,"afterAlt":13,"media":87},"Object removal","Clear the frame, keep the moment.","Remove the other people, leaving only me.","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fe3a34bec-5f54-46ae-ae03-1ee97ee8cd9c.png","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F8b336969-5887-41c9-bcec-781f98b0b243.png",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":89,"title":90,"description":91,"value":13,"href":13,"before":92,"after":93,"beforeAlt":13,"afterAlt":13,"media":94},"Object replacement","Swap one object, preserve the rest.","Replace the torch in hand with a sword.","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F1cf31fe8-18b8-4bf4-8b00-7014fe355eb8.png","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fe391d7c8-7d38-4899-a79f-b76a4b6e4db4.png",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"id":100,"type":100,"eyebrow":101,"title":102,"highlight":103,"description":104,"note":13,"media":105,"items":106,"rows":119,"codeTabs":120,"facts":127,"buttons":134},"api","Developer API","API now","available.","Send an image and a natural-language edit request through DreamAPI.",{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[107,111,115],{"label":13,"title":108,"description":109,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":110},"Provide an image","Use a public JPG, JPEG, PNG, or WEBP URL as the source for the edit.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":112,"description":113,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":114},"Describe the change","Write the edit in plain language — change a background, remove an object, or replace a subject.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":116,"description":117,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":118},"Retrieve the result","Receive a task ID, then use DreamAPI polling or a callback to collect the edited image.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[121,124],{"name":122,"code":123},"JavaScript","const result = await dreamapi.images.edit({\n  model: \"dreamimage-2.0\",\n  prompt: \"Change the background to a studio\",\n  image: \"https:\u002F\u002Fexample.com\u002Fsource.png\"\n})",{"name":125,"code":126},"cURL","curl https:\u002F\u002Fapi.newportai.com\u002Fv1\u002Fimages\u002Fedits \\\n  -H \"Authorization: Bearer $DREAMAPI_KEY\"",[128,131],{"label":129,"value":130},"Model ID","dreamimage-2.0",{"label":132,"value":133},"Workflow","Image → Edit",[135],{"label":136,"url":26,"variant":23},"Open DreamImage 2 Playground",{"id":138,"type":31,"eyebrow":132,"title":139,"highlight":140,"description":13,"note":13,"media":141,"items":142,"rows":158,"codeTabs":159,"facts":160,"buttons":161},"workflow","Describe the change.","Keep the intent.",{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[143,148,153],{"label":144,"title":145,"description":146,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":147},"01","Upload an image","Start with the asset you want to refine.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":149,"title":150,"description":151,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":152},"02","Write the edit","Describe the background, material, removal, or replacement.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":154,"title":155,"description":156,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":157},"03","Receive the result","Retrieve a production-ready edited image.",{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"eyebrow":163,"title":164,"highlight":165,"description":166,"items":167,"note":187},"DreamAPI credits","Top up credits.","Pay as you generate.","One credit pool for every DreamAPI model. Buy a pack, then pay only for what you create.",[168,175,181],{"tier":169,"price":170,"credits":13,"billing":13,"featured":171,"features":172,"label":13,"url":13,"variant":23},"Starter","$60",false,[173,174],"8,000 credits","Flexible API access",{"tier":176,"price":177,"credits":13,"billing":13,"featured":19,"features":178,"label":13,"url":13,"variant":23},"Growth","$500",[179,180],"83,000 credits","Priority workflow access",{"tier":182,"price":183,"credits":13,"billing":13,"featured":171,"features":184,"label":13,"url":13,"variant":23},"Scale","$1,000",[185,186],"222,000 credits","Production-ready usage","Credit packs are purchased on the DreamAPI pricing page.",{"eyebrow":189,"title":190,"highlight":191,"description":192,"headers":193,"rows":196,"button":202,"note":203},"Pricing","Clear, fixed","billing.","One flat credit cost for each image edit request — no surprises.",[194,132,195],"Model","Credits",[197],{"label":198,"cells":199},"dreamimage_2.0",[200,201],"Per request","10",{"label":136,"url":26,"variant":23},"Fixed billing at 10 DreamAPI credits per request.",{"eyebrow":205,"title":206,"highlight":207,"items":208},"FAQ","Before your","first edit.",[209,212,215,218,221,224],{"question":210,"answer":211,"open":19},"What is DreamImage 2?","DreamImage 2 is DreamAPI's natural-language image editing API. It takes an input image and an edit prompt, then generates a modified image while preserving the original structure and content.",{"question":213,"answer":214,"open":171},"What kinds of image edits can it handle?","Use it to change materials, visual styles, or backgrounds; remove people and unwanted objects; and replace a specific object described in the prompt.",{"question":216,"answer":217,"open":171},"Which input image formats are supported?","The API accepts a publicly accessible image URL in JPG, JPEG, PNG, or WEBP format.",{"question":219,"answer":220,"open":171},"How does the API return an edited image?","The submit request returns a taskId. Use that ID with DreamAPI's Polling API, or configure a Callback URL to receive the result automatically.",{"question":222,"answer":223,"open":171},"How much does a DreamImage 2 request cost?","DreamAPI lists fixed billing of 10 credits per request.",{"question":225,"answer":226,"open":171},"Where can I test the API?","Open the DreamImage 2 documentation to review the API reference, launch the Playground, and see current billing details.",{"eyebrow":13,"title":228,"highlight":229,"suffix":13,"description":230,"buttons":231},"Editing images","in plain text.","Change a background, remove an object, or replace a subject — one image and one prompt.",[232,233],{"label":21,"url":22,"variant":23},{"label":234,"url":235,"variant":27},"View pricing","#pricing","0.1.16","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F107\u002F0.1.16\u002Fclient.global.js","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F107\u002F0.1.16\u002Fserver.mjs",[240],"https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F107\u002F0.1.16\u002Fstyle_0.css","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F107\u002F0.1.16\u002Fmanifest.json","NbModelsDreamImage20","ff8ebe24c3a585bc",0,1,{"id":247,"type":248,"direction":249,"span":250,"children":251},"dreamimage-2-0-root","container","column",10,[252],{"id":253,"type":254,"span":250,"module":255},"dreamimage-2-0-component","component",{"code":6,"component_id":-1,"dataSource":256,"component_source":-1,"component_version":236,"client_bundle_path":237,"server_bundle_path":238,"css_paths":349,"manifest_path":241,"global_name":242,"ssr_enabled":19,"build_hash":243,"integrity":-1,"module_sort":-1,"module_enabled":245},{"modelName":8,"hero":257,"sections":261,"plans":323,"pricing":331,"faq":337,"finalCta":345},{"eyebrow":10,"title":11,"highlight":12,"suffix":13,"description":14,"media":258,"primaryButton":259,"secondaryButton":260},{"type":16,"url":17,"poster":13,"alt":18,"muted":19},{"label":21,"url":22,"variant":23},{"label":25,"url":26,"variant":27},[262,277,292,310],{"id":30,"type":31,"eyebrow":32,"title":33,"highlight":34,"description":35,"note":13,"media":263,"items":264,"rows":273,"codeTabs":274,"facts":275,"buttons":276},{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[265,267,269,271],{"label":13,"title":39,"description":40,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":266},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":43,"description":44,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":268},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":47,"description":48,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":270},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":51,"description":52,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":272},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"id":59,"type":60,"eyebrow":61,"title":62,"highlight":63,"description":64,"note":13,"media":278,"items":279,"rows":288,"codeTabs":289,"facts":290,"buttons":291},{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[280,282,284,286],{"label":68,"title":69,"description":70,"value":13,"href":13,"before":71,"after":72,"beforeAlt":13,"afterAlt":13,"media":281},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":75,"title":76,"description":77,"value":13,"href":13,"before":78,"after":79,"beforeAlt":13,"afterAlt":13,"media":283},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":82,"title":83,"description":84,"value":13,"href":13,"before":85,"after":86,"beforeAlt":13,"afterAlt":13,"media":285},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":89,"title":90,"description":91,"value":13,"href":13,"before":92,"after":93,"beforeAlt":13,"afterAlt":13,"media":287},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"id":100,"type":100,"eyebrow":101,"title":102,"highlight":103,"description":104,"note":13,"media":293,"items":294,"rows":301,"codeTabs":302,"facts":305,"buttons":308},{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[295,297,299],{"label":13,"title":108,"description":109,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":296},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":112,"description":113,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":298},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":13,"title":116,"description":117,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":300},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[303,304],{"name":122,"code":123},{"name":125,"code":126},[306,307],{"label":129,"value":130},{"label":132,"value":133},[309],{"label":136,"url":26,"variant":23},{"id":138,"type":31,"eyebrow":132,"title":139,"highlight":140,"description":13,"note":13,"media":311,"items":312,"rows":319,"codeTabs":320,"facts":321,"buttons":322},{"type":16,"url":13,"poster":13,"alt":13,"muted":19},[313,315,317],{"label":144,"title":145,"description":146,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":314},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":149,"title":150,"description":151,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":316},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},{"label":154,"title":155,"description":156,"value":13,"href":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"media":318},{"type":16,"url":13,"before":13,"after":13,"beforeAlt":13,"afterAlt":13,"poster":13,"alt":13,"muted":19},[],[],[],[],{"eyebrow":163,"title":164,"highlight":165,"description":166,"items":324,"note":187},[325,327,329],{"tier":169,"price":170,"credits":13,"billing":13,"featured":171,"features":326,"label":13,"url":13,"variant":23},[173,174],{"tier":176,"price":177,"credits":13,"billing":13,"featured":19,"features":328,"label":13,"url":13,"variant":23},[179,180],{"tier":182,"price":183,"credits":13,"billing":13,"featured":171,"features":330,"label":13,"url":13,"variant":23},[185,186],{"eyebrow":189,"title":190,"highlight":191,"description":192,"headers":332,"rows":333,"button":336,"note":203},[194,132,195],[334],{"label":198,"cells":335},[200,201],{"label":136,"url":26,"variant":23},{"eyebrow":205,"title":206,"highlight":207,"items":338},[339,340,341,342,343,344],{"question":210,"answer":211,"open":19},{"question":213,"answer":214,"open":171},{"question":216,"answer":217,"open":171},{"question":219,"answer":220,"open":171},{"question":222,"answer":223,"open":171},{"question":225,"answer":226,"open":171},{"eyebrow":13,"title":228,"highlight":229,"suffix":13,"description":230,"buttons":346},[347,348],{"label":21,"url":22,"variant":23},{"label":234,"url":235,"variant":27},[240],{"title":351,"description":352,"keywords":8,"canonical":353},"DreamImage 2 API — AI Image Editing for Backgrounds & Objects | NewportAI","Edit images with natural language using DreamImage 2 API. Change backgrounds and materials, remove unwanted objects, or replace a specific subject in one request.","https:\u002F\u002Fnewportai.com\u002Fmodels\u002Fdreamimage-2.0"]