Image generation
Live
Open in ChatGPT
(opens in new tab)Last verified: 2026-09-08Generate an image
prompt must contain 1–5,000 characters. For the Wan 2.7 example, request 1–4 outputs with n; optionally provide size, watermark, thinking_mode, and region.bashcurl https://api.modelrush.ai/v1/images/generations \-H "Authorization: Bearer $MODELRUSH_API_KEY" \-H "Content-Type: application/json" \-d '{"model":"modelrush/wan2.7-image-pro","prompt":"A friendly lunar fox operating an API console","n":1,"size":"1024*1024"}'
Use outputs safely
Download generated assets into storage you control within 24 hours when durable access is required. ModelRush removes generated outputs and their Provider file references from its database 24 hours after request completion. Keep the ModelRush generation ID and model ID with the asset metadata.
Edit instead of regenerate
When the task depends on a source image, use Image edits rather than encoding references into a text-only request.
Spicy model API references
Open a model page for its request parameters and current prices. The four Wan 3 landing pages include a developer API section below the Playground. Read GET /v1/models for current schemas and key-specific access; GET /api/model-pricing exposes current customer prices.
| Model and API reference | Model ID | Endpoint |
|---|---|---|
| Z-Image Spicy | modelrush/z-image-spicy | POST /v1/images/generations |
| Z-Image Pro Spicy | modelrush/z-image-spicy-pro | POST /v1/images/generations |
MuleRouter image calls can return HTTP 202 with id and poll_url. Poll that URL with the same API key; GET /v1/predictions/:id completes with status succeeded and outputs. Z-Image Pro Spicy accepts width and height from 256 to 2560 (default 1024), n = 1 and prompt_extend = false by default. Z-Image Spicy also produces one image per request. Do not copy another model's size or output-count limits.
All Spicy models require adult-access confirmation on the account. API keys must permit the selected model and capability. Keep keys server-side and reuse Idempotency-Key for retries of the same submission.
PreviousText and chat
NextImage edits