Infinitalk - From Audio
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)
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | The model name to use for generation. Required field. - Must be infinitalk/from-audio for this endpoint Default:"infinitalk/from-audio"。 Allowed values:infinitalk/from-audio。 Example:infinitalk/from-audio。 |
image_url | string | Yes | URL 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/1757329269873ggqj2hz3.png。 |
audio_url | string | Yes | The URL of the audio file. (File URL after upload, not file content; Accepted types: audio/mpeg, audio/wav, audio/x-wav, audio/aac, audio/mp4, audio/ogg; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/1757329255705mmqwrnri.mp3。 |
prompt | string | Yes | The text prompt to guide video generation. (Max length: 5000 characters) maxLength: 5000. Example:A young woman with long dark hair talking on a podcast.。 |
resolution | string | No | Resolution of the video to generate. Must be either 480p or 720p. Default:"480p"。 Allowed values:480p / 720p。 Example:480p。 |
seed | number | No | Random seed for reproducibility. Valid range is 10000 to 1000000. |
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": "infinitalk/from-audio",
"image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757329269873ggqj2hz3.png",
"audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757329255705mmqwrnri.mp3",
"prompt": "A young woman with long dark hair talking on a podcast.",
"resolution": "480p"
}'json
{
"model": "infinitalk/from-audio",
"image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757329269873ggqj2hz3.png",
"audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757329255705mmqwrnri.mp3",
"prompt": "A young woman with long dark hair talking on a podcast.",
"resolution": "480p"
}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": {}
}