Skip to content

Combine

Combine merges 2–5 images into one output. A prompt describes how to arrange them.

Terminal window
depicta combine image hero.png sidebar.png --prompt "Place hero on the left, sidebar on the right"
Terminal window
curl -X POST https://api.depicta.ai/v1/combine/image \
-H "Authorization: Bearer dpct_YOUR_API_KEY" \
-F "images=@hero.png" \
-F "images=@sidebar.png" \
-F "prompt=Place hero on the left, sidebar on the right"

Like generate and edit, combine is type-specific:

EndpointUse for
POST /v1/combine/imagePhotos, illustrations
POST /v1/combine/graphicIcons, logos, UI elements
POST /v1/combine/diagramMerge diagram sections

Combine also supports up to 5 reference images to guide the composition style — for example, showing how elements should be arranged or what visual tone to aim for.

See Generate — Reference images for full details.

  • Minimum: 2 images
  • Maximum: 5 images
  • Each image can be a file, URL, or stdin

Same format as generate.