PeumeAPI

AI generation

Generate Image Sets (Fast)

Image generation, editing, and image sets with Wan 2.7 Image.

$0.045 per result

Call it

curl https://api.peume.com/v1/call/generate-image-sets-fast \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "your prompt",
    "size": "2K",
    "enable_sequential": false,
    "watermark": false
  }
}'

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: generate-image-sets-fast.

Parameters

promptRequiredstring

Text prompt (max 5,000 characters) — the image description, editing instruction, or image-set storyline. This model has no negative_prompt: describe exclusions in the prompt ("do not include...").

imagesarray

0-9 input images for editing / multi-image reference. Input images are free; the output aspect ratio follows the last one.

sizestring

Output resolution: "1K" or "2K" (default) — or an explicit "width*height" (768*768 up to 2048*2048 total pixels, aspect ratio 1:8 to 8:1). Price does not vary by resolution.

Example: 2K

ninteger

Number of output images: 1-4 normally (default 1); in image-set mode (enable_sequential) it is the MAXIMUM, 1-12 (default 12) — the model decides the actual count. Drives the per-image charge and the hold.

enable_sequentialboolean

Image-set mode: generate multiple story-coherent images from one request. Disables thinking_mode and color_palette.

Example: false

thinking_modeboolean

Enhanced reasoning for better quality (default true; slower). Effective only for text-to-image outside image-set mode.

color_palettearray

Custom color scheme (3-10 colors; 8 recommended). Not available in image-set mode.

bbox_listarray

Interactive editing: per input image, 0-2 bounding boxes [x1, y1, x2, y2] in absolute pixels. The outer list length must match the input image count; pass [] for images without a box.

watermarkboolean

Add an "AI Generated" watermark. Default false.

Example: false

seedinteger

Random seed for reproducibility. Same seed does not guarantee identical results.

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.