Skip to content

Wan - 2.2 A14B Speech to Video Turbo ​

Endpoint ​

POST /audio/generations

Full URL: https://modelfold.ai/v1/audio/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe model name to use for generation. Required field.
- Must be wan/2-2-a14b-speech-to-video-turbo for this endpoint Default:"wan/2-2-a14b-speech-to-video-turbo"。 Allowed values:wan/2-2-a14b-speech-to-video-turbo。 Example:wan/2-2-a14b-speech-to-video-turbo。
promptstringYesThe text prompt used for video generation (Max length: 5000 characters) maxLength: 5000. Example:The lady is talking。
image_urlstringYesURL of the input image. (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/1756797663082u4pjmcrq.png。
audio_urlstringYesThe URL of the audio file (File URL after upload, not file content; Accepted types: audio/mp3, audio/wav, audio/ogg, audio/m4a, audio/flac, audio/aac, audio/x-ms-wma, audio/mpeg; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/17567977044127d1emlmc.mp3。
num_framesnumberNoNumber of frames to generate. Must be between 40 to 120, (must be multiple of 4) (Min: 40, Max: 120, Step: 4) (step: 4) Default:80。 minimum: 40. maximum: 120. Example:80。
frames_per_secondnumberNoFrames per second of the generated video. Must be between 4 to 60. (Min: 4, Max: 60, Step: 1) (step: 1) Default:16。 minimum: 4. maximum: 60. Example:16。
resolutionstringNoResolution of the generated video (480p, 580p, or 720p) Default:"480p"。 Allowed values:480p / 580p / 720p。 Example:480p。
negative_promptstringNoNegative prompt for video generation (Max length: 500 characters) maxLength: 500. Example:``。
seedintegerNoOptional. Omit for a random seed.
num_inference_stepsnumberNoNumber of inference steps for sampling. Higher values give better quality but take longer (Min: 2, Max: 40, Step: 1) (step: 1) Default:27。 minimum: 2. maximum: 40. Example:27。
guidance_scalenumberNoClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality (Min: 1, Max: 10, Step: 0.1) (step: 0.1) Default:3.5。 minimum: 1. maximum: 10. Example:3.5。
shiftnumberNoShift value for the video. Must be between 1.0 and 10.0 (Min: 1, Max: 10, Step: 0.1) (step: 0.1) Default:5。 minimum: 1. maximum: 10. Example:5。
nsfw_checkerbooleanNoDefaults to false. When false, no additional content filtering is applied and results are returned directly by the model.

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/audio/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/2-2-a14b-speech-to-video-turbo",
  "prompt": "The lady is talking",
  "image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1756797663082u4pjmcrq.png",
  "audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17567977044127d1emlmc.mp3",
  "num_frames": 80,
  "frames_per_second": 16,
  "resolution": "480p",
  "num_inference_steps": 27,
  "guidance_scale": 3.5,
  "shift": 5
}'
json
{
  "model": "wan/2-2-a14b-speech-to-video-turbo",
  "prompt": "The lady is talking",
  "image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1756797663082u4pjmcrq.png",
  "audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17567977044127d1emlmc.mp3",
  "num_frames": 80,
  "frames_per_second": 16,
  "resolution": "480p",
  "num_inference_steps": 27,
  "guidance_scale": 3.5,
  "shift": 5
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.mp3"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.