Kling AI Avatar Standard
Endpoint
POST /videos/generations
Full URL: https://modelfold.ai/v1/videos/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 kling/ai-avatar-standard for this endpoint Default:"kling/ai-avatar-standard"。 Allowed values:kling/ai-avatar-standard。 Example:kling/ai-avatar-standard。 |
image_url | string | Yes | The URL of the image to use as your avatar (File URL after upload, not file content; Accepted types: image/jpeg, image/png; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/17579268936223zs9l3dt.png。 |
audio_url | string | Yes | The URL of the audio file (must be the URL of the uploaded file, not the file content; supported formats: audio/mpeg, audio/wav, audio/x-wav, audio/aac, audio/mp4, audio/ogg; audio size is limited to 100M, and the duration cannot exceed 5 minutes) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/17579258340109gghun47.mp3。 |
prompt | string | Yes | Prompt required by the ModelFold gateway; at most 2000 characters. Required, non-empty. Describe the avatar's expression, movement and camera; the speech comes from audio_url. Up to 5,000 characters. maxLength: 2000. Example:A young woman speaking into a podcast microphone with natural expressions。 |
Request Example
bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling/ai-avatar-standard",
"image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17579268936223zs9l3dt.png",
"audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17579258340109gghun47.mp3",
"prompt": "A young woman speaking into a podcast microphone with natural expressions"
}'json
{
"model": "kling/ai-avatar-standard",
"image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17579268936223zs9l3dt.png",
"audio_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/17579258340109gghun47.mp3",
"prompt": "A young woman speaking into a podcast microphone with natural expressions"
}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.mp4"
}
],
"usage": {}
}