PeumeAPI

AI generation

Edit Image for 3D

Edit or restyle 1–5 reference images from a prompt.

From $0.135 per call

Call it

curl https://api.peume.com/v1/call/edit-image-for-3d \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "ai_model": "nano-banana",
    "prompt": "your prompt"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: edit-image-for-3d.

Parameters

ai_modelRequiredstring

Edit model: nano-banana $0.09 up to the GPT Image models $0.36. GPT Image 2.6 comes as gpt-image-2-6-flare (fast iteration) and gpt-image-2-6-sunburst (detailed work, precise edits).

nano-banana · nano-banana-pro · nano-banana-2 · nano-banana-2-lite · nano-banana-2-1 · gpt-image-2 · gpt-image-2-5-flare · gpt-image-2-5-sunburst · gpt-image-2-6-flare · gpt-image-2-6-sunburst

promptRequiredstring

Describe the edit.

reference_image_urlsarray

1–5 reference images (public https URLs).

input_run_idstring

run id of YOUR OWN successful /image/generate or /image/edit run whose images to edit (all of them are used).

generate_multi_viewboolean

Produce a 4-view split image.

aspect_ratiostring

Output aspect ratio (default 1:1).

1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3

remove_backgroundboolean

Return a transparent RGBA cutout (single image only).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.