SandBase is live — $1 in free credits on signupStart free ›

ImagineArt modelsimage generation api

imagineart/imagineart-2.0-edit-preview/image-to-image

Imagineart 2.0 Edit Preview by ImagineArt - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly...

Input
Editing instruction (e.g. 'replace the background with a sunset beach').

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

Reference image URL(s). Up to 4 images.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Idle

Example output — click Run to generate your own

API README

ImagineArt 2.0 Edit Preview

ImagineArt 2.0 Edit Preview applies written editing instructions to supplied visual references. Its images field accepts up to four URLs, allowing the request to draw on a small reference set rather than being limited to one source.

The prompt can describe a concrete transformation, such as replacing a background, while ten aspect-ratio choices determine the frame of the result. Together, those inputs make the preview endpoint useful for exploring prompt-led revisions across different compositions.

Highlights

Up to four reference images. Bring a compact set of source visuals into one edit request through the images array.

Direct editing instructions. State the intended change in the prompt, including transformations such as replacing the background.

Broad framing selection. Ten supported aspect ratios range from cinematic widescreen to square and portrait layouts.

Prompt-led ImagineArt workflow. The surrounding ImagineArt 2.0 capability is documented around prompt-driven image creation, and this endpoint applies that interaction to image editing.

Pricing

Billing unitPrice
Per request$0.05

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "aspect_ratio": "21:9",
  "images": [
    [
      "https://example.com/reference.png"
    ]
  ],
  "prompt": "Describe the desired result with subject, action, setting, and style."
}

Technical Specs

SpecValue
Model IDimagineart/imagineart-2.0-edit-preview/image-to-image
Inputsaspect_ratio, images, prompt
Required inputsprompt
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)
Aspect Ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16

Related Models

Related Models