WaveSpeed
v1.3.4Run any model on the live WaveSpeed catalog: image, video, audio, 3D.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models
Search the live WaveSpeed model catalog (image, video, audio, 3D). Returns model IDs usable with run_model. Do not invent model IDs — always pick one returned by this tool.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results |
query | string | Free-text filter on id/name/description |
refresh | boolean | Bypass the 1h catalog cache |
type | string | Filter by modality type, e.g. text-to-image, image-to-video |
get_model_schema
Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model ID from list_models, e.g. bytedance/seedream-v5.0-pro |
run_model
Run any WaveSpeed model. input keys come from get_model_schema; unknown keys are rejected before submission. Local files: pass "@./path" in a media field (image, images, video, audio, mask …) — it is uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns the prediction id right away (done=false); call get_prediction with that id and wait_seconds until done=true to get the output URLs. The task keeps running on the server. Pass wait_seconds here to wait for a quick model in the same call.
| Parameter | Type | Description |
|---|---|---|
input * | object | Model inputs per its schema (e.g. {"prompt": "...", "aspect_ratio": "16:9"}) |
model * | string | Model ID from list_models |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
generate_image
Create an image from a text description with the same models as the WaveSpeed /chat page (seedream-5-5, seedream-5-pro, nano-banana-2.1, nano-banana-2, nano-banana-pro, gpt-image-2.6, gpt-image-2.5, gpt-image-2; default seedream-5-5). Give reference_images to use existing images as subject, product, face or style (the model's edit endpoint is used). To change existing images use edit_image. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Complete visual prompt: subject, composition, style, lighting, mood. |
aspect_ratio | string | e.g. 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21. A ratio the model does not offer is an error that lists the ones it does. If omitted: text-to-image is 1:1; with input images it is determined automatically… |
estimate_only | boolean | true: only return the price estimate and the request that would run. Nothing is submitted or charged. |
model | string | Only when the user names a model; default is the first (Seedream 5.5). |
reference_images | array | Optional images whose subject, product, face or style the new image should use: public URLs, or "@./path" for local files (uploaded automatically). |
resolution | string | Only when the user asks for a size. A size the model does not offer is an error that lists the ones it does and the models that offer it. |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
edit_image
Change existing images with the same models as the WaveSpeed /chat page: edits, restyles, backgrounds, adding or removing things, combining several images. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.
| Parameter | Type | Description |
|---|---|---|
images * | array | The images to edit, in order: public URLs, or "@./path" for local files (uploaded automatically). |
prompt * | string | Complete visual prompt: subject, composition, style, lighting, mood. |
aspect_ratio | string | e.g. 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21. A ratio the model does not offer is an error that lists the ones it does. If omitted: text-to-image is 1:1; with input images it is determined automatically… |
estimate_only | boolean | true: only return the price estimate and the request that would run. Nothing is submitted or charged. |
model | string | Only when the user names a model; default is the first (Seedream 5.5). |
resolution | string | Only when the user asks for a size. A size the model does not offer is an error that lists the ones it does and the models that offer it. |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
generate_video
Create a video with the same models as the WaveSpeed /chat page (default wan-3.0). Give first_frame to animate an image; give reference_images / reference_videos / reference_audios to keep characters, products, motion, voice or music. The right mode (text, image or reference to video) is picked from what you give. Videos can cost dollars: use estimate_only first when unsure. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Shot description: subject, action, camera movement, style, sound. |
aspect_ratio | string | e.g. 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21. A ratio the model does not offer is an error that lists the ones it does. If omitted, the model's default ratio is used; with first_frame the video follows… |
duration | integer | Seconds, only when the user asks for a length; omit to use the model default. A length outside the model's range is an error that states the range. |
estimate_only | boolean | true: only return the price estimate and the request that would run. Nothing is submitted or charged. |
first_frame | string | Image to start the video from (URL or "@./path"). |
last_frame | string | Optional image to end on (needs first_frame). |
model | string | Only when the user names a model (wan-3.0, wan-3.0-prime, seedance-2.5, seedance-2.5-turbo, seedance-2.5-flash, seedance-2.5-flash-turbo, seedance-2.0, seedance-2.0-turbo, seedance-2.0-fast, seedance-… |
reference_audios | array | Optional audio for voice, music or sound to use: public URLs, or "@./path" for local files (uploaded automatically). |
reference_images | array | Optional images for characters, products or style to keep (not a first frame): public URLs, or "@./path" for local files (uploaded automatically). |
reference_videos | array | Optional videos for motion, camera or a character to follow: public URLs, or "@./path" for local files (uploaded automatically). |
resolution | string | Only when the user asks for a resolution, or 480p for a cheaper draft; otherwise omit. A resolution the model does not offer is an error that lists the ones it does and the models that offer it. MiniM… |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
edit_video
Edit an existing video with the same models as the WaveSpeed /chat page. Name the video and any references in the prompt (e.g. "replace the cat in @video 1 with the lion from @image 1"). In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to change in the video and what must stay. |
video * | string | The video to edit (URL or "@./path"). |
estimate_only | boolean | true: only return the price estimate and the request that would run. Nothing is submitted or charged. |
model | string | Only when the user names a model (wan-3.0, wan-3.0-prime, seedance-2.5, seedance-2.5-turbo, seedance-2.5-flash, seedance-2.5-flash-turbo, seedance-2.0, seedance-2.0-turbo, seedance-2.0-fast, seedance-… |
reference_audios | array | Optional audio for voice, music or sound: public URLs, or "@./path" for local files (uploaded automatically). |
reference_images | array | Optional images to use as references: public URLs, or "@./path" for local files (uploaded automatically). |
resolution | string | Only when the user asks for a resolution, or 480p for a cheaper draft; otherwise omit. A resolution the model does not offer is an error that lists the ones it does and the models that offer it. MiniM… |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
extend_video
Continue an existing video with new footage after its end, with the same models as the WaveSpeed /chat page (Seedance 2.5 Flash included). Turbo models, Flash Turbo too, cannot extend. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What happens next. |
video * | string | The video to continue (URL or "@./path"). |
duration | integer | Seconds of new footage; omit to use the model default. A length outside the model's range is an error that states the range. |
estimate_only | boolean | true: only return the price estimate and the request that would run. Nothing is submitted or charged. |
last_frame | string | Optional image the continuation should end on. |
model | string | Only when the user names a model (wan-3.0, wan-3.0-prime, seedance-2.5, seedance-2.5-turbo, seedance-2.5-flash, seedance-2.5-flash-turbo, seedance-2.0, seedance-2.0-turbo, seedance-2.0-fast, seedance-… |
resolution | string | Only when the user asks for a resolution, or 480p for a cheaper draft; otherwise omit. A resolution the model does not offer is an error that lists the ones it does and the models that offer it. MiniM… |
wait_seconds | integer | Max seconds to wait for the result in this call (default 0: return the prediction id right away) |
get_price
Estimate the cost of a run before executing it (no charge). Provide the same input you would pass to run_model — pricing often depends on inputs like duration or resolution, and a quote made without them can be lower than the real charge.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model ID from list_models |
input | object | Inputs the quote should account for |
get_balance
Show the WaveSpeed account credit balance, with the link to top up.
list_predictions
List past predictions (run history), newest window first. Defaults to the last 24 hours; pass since/until (ISO or YYYY-MM-DD) for other ranges. Use get_prediction with an id for one task in full.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size |
model | string | Filter by model ID |
page | integer | |
since | string | Created after this time (ISO or YYYY-MM-DD) |
status | string | |
until | string | Created before this time (ISO or YYYY-MM-DD) |
list_billings
List itemized charges and refunds (billing records). Requires an API key with Billing access.
| Parameter | Type | Description |
|---|---|---|
key | string | Filter by the API key uuid that generated the charge |
limit | integer | Page size |
model | string | Filter by model ID as list_models returns it, e.g. bytedance/seedream-v5.0-pro |
page | integer | |
since | string | Records after this time (ISO or YYYY-MM-DD) |
type | string | |
until | string | Records before this time (ISO or YYYY-MM-DD) |
get_usage
Usage statistics: spend, request counts, daily series and per-model breakdown. Defaults to the last 7 days. Requires an API key with Billing access.
| Parameter | Type | Description |
|---|---|---|
model | string | Filter by model ID as list_models returns it, e.g. bytedance/seedream-v5.0-pro |
since | string | Start (ISO or YYYY-MM-DD); default 7 days ago |
until | string | End (ISO or YYYY-MM-DD); default now |
delete_predictions
Delete finished predictions from this account's run history, up to 100 at a time. This is a soft delete: each record stays, with status "deleted" and without its outputs, and list_predictions and get_prediction still return it that way; the output links are revoked (best effort). This tool cannot undo it. Runs that are still going are left alone, and only the key's own organization's records are deleted. Ask the user first, and pass confirm: true only after they agreed to delete these ids.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: the user has agreed to delete these predictions |
ids * | array | Prediction ids to delete |
upload_file
Upload a local file to WaveSpeed and get its hosted URL (identical bytes reuse the same upload for 24h). Usually unnecessary — run_model handles "@./path" inputs itself.
| Parameter | Type | Description |
|---|---|---|
path * | string | Local file path |
get_prediction
Fetch the status and outputs of a past or in-flight prediction by id — use to pick up a run that returned done=false. Pass wait_seconds to keep waiting for it to finish.
| Parameter | Type | Description |
|---|---|---|
id * | string | Prediction id returned by run_model |
wait_seconds | integer | Max seconds to wait for a terminal status; 0 = return the current status now |