Overview
WaveAPI supports multiple image generation models, all accessible through the unified async task endpoint/v1/tasks.
Simple synchronous image generation can also use
/v1/tasks (OpenAI compatible format), but /v1/tasks is recommended for broader model and parameter support.Request Endpoint
Common Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Model name |
action | string | No | Operation type, defaults to "generate", options include "edit", "upscale", "variation" |
prompt | string | Yes | Image description text |
negative_prompt | string | No | Content you do not want to appear |
n | integer | No | Number of images to generate, default 1 |
size | string | No | Image size, e.g., "1024x1024" |
aspect_ratio | string | No | Aspect ratio, e.g., "16:9" |
quality | string | No | Quality level, e.g., "standard", "hd" |
image_url | string | No | Reference image URL (image-to-image) |
image_urls | array | No | Multiple reference image URLs |
callback_url | string | No | Webhook callback URL upon completion |
extra | object | No | Model-specific pass-through parameters |
Response Format
After task submission, atask_id is returned. Query results via GET /v1/tasks/{task_id}:
Supported Models
GPT-4o Image
OpenAI image generation model
FLUX Kontext
FLUX series image generation
Seedream
ByteDance Seedream series
More Models
Nano Banana, Gemini Flash, and more