Imagine Image API

Put precise image creation inside your product.

Use Imagine Image through an API to generate, edit, transform, and deliver visual content in the workflows your users already understand.

One model, more than one endpoint

  • Generate: create from text and references.
  • Edit: change a selected detail in context.
  • Adapt: create variants and new formats.
  • Reuse: keep the result moving through your product.

Build around the creative action, not the model jargon.

Your product can expose the same clear actions as the Imagine Image AI experience while the API handles the model complexity underneath.

Prompt-to-image

Generate a visual from a detailed brief covering subject, composition, typography, lighting, materials, and style.

Targeted editing

Send an existing image with an instruction to replace, remove, restyle, adjust, or add a specific element.

Reference composition

Use multiple images as named inputs for character, product, outfit, pose, style, or environment.

Format adaptation

Use Smart Resize and variations to turn one visual asset into the deliverables a product needs.

Quick start

Generate a first image in one request.

Start with a prompt and add the inputs your workflow needs. The same creative system can then power editing, references, variants, and resizing.

Request

POST /v1/generate
curl -X POST https://api.imagineimageai.com/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"Imagine Image","prompt":"A futuristic city at night, wide editorial banner, controlled neon reflections"}'

Response

200 OK
{
  "status": "success",
  "image_url": "https://cdn.imagineimageai.com/images/abc123.jpeg",
  "request_id": "xyz789"
}

Product principle

The first generation should not be the end of the workflow.

Let users generate a concept, select a region, ask for a change, preserve the right details, and produce the next format without losing the original intent.

Build with Imagine Image.

Give your users an image system that keeps creating with them.

View the quick start