Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/generateTask/infinitetalk | Create generation task |
| GET | /api/v1/statusTask/infinitetalk | Query task status |
Authentication
All requests require an API Key in the header:Request Body
Parameters
async (polling) or callback (webhook)
Callback URL, required when request_type=callback (conditional)
Routing strategy: auto, value, or official
Model input parameters
Example
Response
POST /api/v1/generateTask/infinitetalk
ReturnstaskId on success for subsequent status queries.
Success:
GET /api/v1/statusTask/infinitetalk
Query task execution status and results viataskId.
Status Response Fields
Unique task identifier.
Current task state:
pending, processing, success, or failed.JSON string containing
resultUrls array. Only present on success. Parse with JSON.parse().Error code. Only present when
state is failed. See Error Codes.Human-readable error message. Only present when
state is failed.Task creation timestamp (Unix milliseconds).
Task completion timestamp (Unix milliseconds).
Processing duration in milliseconds.
Error Codes
| Code | Description |
|---|---|
| 400 | Invalid parameters or request error |
| 401 | Invalid or missing API Key |
| 429 | Rate limit exceeded |
| Fail Code | Description |
|---|---|
CONTENT_VIOLATION | Content violates safety guidelines |
INVALID_IMAGE_URL | Cannot access provided image URL |
INVALID_AUDIO_URL | Cannot access provided audio URL |
Rate Limits
| Limit | Value |
|---|---|
| Requests | 10000 / minute |
| Concurrent tasks | 1000 |
429 error. Wait and retry.
Tips
- Mode: Only
image-to-videois supported. Provide one portrait image and one audio file. - Audio requirements: Must be a public MP3, WAV, or M4A URL, up to 128 MB and 10 minutes.
- Billing: Per-second billing based on actual audio duration. Minimum charge is 5 seconds.
- 480p: $0.03/second
- 720p: $0.06/second
- Mask image: Optionally provide a second image in
image_urlsto specify which regions can move. Do not use the full image as a mask — it may render as fully black. - Prompt tips: Keep prompts short and in English. Too many prompts may cause noisy or unexpected results.
- Processing time: Approximately 10–30 seconds of wall time per 1 second of video output (varies by resolution and queue).
- Callback mode: Video generation can take minutes for long audio; strongly recommend
callbackmode for production. - Video expiration: Result URLs are valid for 15 days. Download promptly.
- Seed: Set a fixed seed (0–2147483647) for reproducible results, or use
-1for random.