Documentation Index
Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Veo 3.1 Extend continues an existingveo-3-1 video task with a new prompt. Use this page when you already have a completed Veo 3.1 taskId from APIXO and want to branch or lengthen the scene without starting from a fresh source prompt.
| Capability | Value |
|---|---|
| Model ID | veo-3-1-extend |
| Mode | Video-to-video continuation |
| Source task | Existing APIXO veo-3-1 taskId |
| Extend modes | fast, quality |
| Prompt length | 1-10000 characters |
| Output | Video URL in resultJson.resultUrls |
Endpoint and authentication
Base URL:| Method | Endpoint | Purpose |
|---|---|---|
POST | /generateTask/veo-3-1-extend | Submit an extend task |
GET | /statusTask/veo-3-1-extend?taskId={taskId} | Poll task status and retrieve results |
Copy-paste async quickstart
This minimal request extends a previousveo-3-1 task and returns a new extend taskId.
taskId; use it with the status endpoint to retrieve the extended video.
Poll for result
resultJson after state becomes success:
Request body
Fast extend
Quality extend
Parameters
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.Required when
request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.Veo 3.1 Extend input parameters.
Response format
Submit task response
POST /generateTask/veo-3-1-extend returns a new extend task ID when the task is accepted:
API status code.
200 means the task was accepted.Human-readable status message.
Unique extend task identifier used with the status endpoint.
Status response fields
Unique extend task identifier.
Current task state:
pending, processing, success, or failed.JSON string containing the extended video URLs. Present when
state is success.Machine-readable failure code. Present when
state is failed.Human-readable failure message. Present when
state is failed.Task creation timestamp in Unix milliseconds.
Task completion timestamp in Unix milliseconds. Present after completion.
Processing duration in milliseconds. Present after completion.
Webhook callback mode
Use callback mode when your backend should receive the final result automatically instead of polling.Billing
Veo 3.1 Extend is billed per extended video task.| Billing unit | Starting APIXO price |
|---|---|
| Extended video | $0.20 / video |
Latency and polling
Veo 3.1 Extend is an asynchronous video workflow. Actual latency may vary by extend mode, prompt complexity, upstream queue load, and result storage time.| Workflow | Recommended first poll | Poll interval |
|---|---|---|
fast | 30s after task creation | 10s |
quality | 60s after task creation | 10s |
429, slow down requests and retry with backoff. For account-level details, see System APIs.
Errors and troubleshooting
HTTP errors
| Code | Meaning | What to do |
|---|---|---|
400 | Invalid request body, missing required parameter, unsupported mode, or unusable source task ID | Fix the request before retrying |
401 | Missing or invalid API key | Check the Authorization header |
402 | Insufficient balance or quota | Add balance or switch account/key |
403 | Key or route cannot access the model | Check permissions and route strategy |
429 | Rate limit or concurrency limit reached | Retry with exponential backoff |
500 | Server error | Retry with backoff |
502 | Upstream service error | Retry with backoff |
504 | Upstream timeout | Retry or use callback mode for long-running jobs |
Task failure codes
| Fail code | Meaning | What to do |
|---|---|---|
TASKID_ERROR | The source task ID was not found, expired, or does not belong to veo-3-1 | Use a valid data.taskId from a previous veo-3-1 task |
CONTENT_VIOLATION | The continuation prompt failed safety checks | Change the prompt |
INVALID_PARAMETER | A model parameter is unsupported or malformed | Check taskId, mode, prompt, watermark, and seed |
INSUFFICIENT_BALANCE | The account does not have enough balance for the task | Add balance before retrying |
UPSTREAM_ERROR | Upstream-side failure | Retry with backoff or try another route |
TIMEOUT | Generation did not finish in time | Retry, reduce prompt complexity, or use callback mode |