vidu/q2/video-extension/pro
Vidu Q2 Video Extension is Shengshu's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runvidu/q2/video-extension/proInput Schema
5 parameters · 1 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | text prompt to guide the video extension · Max length: 3000 |
seed | integer | Optional | Random seed for reproducibility. If None, a random seed is chosen. |
video | string | Optional | URL of the video to extend |
duration | integer | Optional | Duration of the extension in seconds · Options: 2, 3, 4, 5, 6, 7 · Default: 4 234567 |
resolution | string | Optional | Output video resolution · Options: 720p, 1080p · Default: "720p" 720p1080p |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "vidu/q2/video-extension/pro",
"video": "https://static.sandbase.ai/examples/shengshu/vidu/q2/video-extension/pro/output_url_0.mp4",
"duration": 4,
"resolution": "720p",
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Vidu Q2 Video Extension Pro
Vidu Q2 Video Extension is Shengshu's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification. Vidu Q2 Video Extension Pro serves the vidu/q2/video-extension/pro workflow for pro work in video production. Because vidu/q2/video-extension/pro is a separate catalog entry, evaluations should use this route’s own inputs, output expectations, and billing behavior. Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. The endpoint is especially useful when a project has a defined transformation goal and needs a repeatable request contract instead of an ad-hoc desktop step. This capability boundary is specific to the endpoint named above.
seed controls random seed for reproducibility. If None, a random seed is chosen; video controls uRL of the video to extend; prompt controls text prompt to guide the video extension; duration controls duration of the extension in seconds; duration accepts 2, 3, 4, 5, 6, 7; resolution controls output video resolution; resolution accepts 720p, 1080p. Vidu Q2 Video Extension Pro exposes seed, video, prompt, duration, resolution as its documented request surface. For example, the route documentation includes “https://static.sandbase.ai/examples/shengshu/vidu/q2/video-extension/pro/output_url_0.mp4”. The mandatory portion is prompt. Applications can submit that exact shape asynchronously, retain the chosen arguments in job metadata, and collect the resulting media URL for review or publishing.
Highlights
- Coherent motion. Vidu Q2 Video Extension Pro is built to turn the route’s text or reference media into a temporally connected sequence rather than unrelated frames.
- Shot direction. Prompts can describe subject action, camera movement, pacing, and atmosphere so Vidu Q2 Video Extension Pro has a concrete motion plan.
- Reference-aware generation. When this route accepts source media, Vidu Q2 Video Extension Pro uses it to anchor identity, composition, or the clip boundary throughout generation.
- Production variants. Declared duration, resolution, framing, or inference controls support repeatable video options for review and selection.
Pricing
| Billing option | Price |
|---|---|
| Billing formula | params.resolution == "360p" ? 0.15 : params.resolution == "520p" ? 0.22 : params.resolution == "720p" ? params.duration * 0.075 : params.resolution == "1080p" ? 0.28 + params.duration * 0.075 : 0 |
duration=2 · resolution=720p | $0.150000 |
duration=2 · resolution=1080p | $0.430000 |
duration=3 · resolution=720p | $0.225000 |
duration=3 · resolution=1080p | $0.505000 |
duration=4 · resolution=720p | $0.300000 |
duration=4 · resolution=1080p | $0.580000 |
duration=5 · resolution=720p | $0.375000 |
duration=5 · resolution=1080p | $0.655000 |
duration=6 · resolution=720p | $0.450000 |
duration=6 · resolution=1080p | $0.730000 |
duration=7 · resolution=720p | $0.525000 |
duration=7 · resolution=1080p | $0.805000 |
When to Use
| Scenario | Why it fits |
|---|---|
| Choose Vidu Q2 Video Extension Pro | Use it when the job specifically calls for pro and the route’s documented input contract matches assets already available in your workflow. |
| Keep the request reproducible | Use the required prompt explicitly, then record optional choices alongside the prompt for repeatable reruns. |
| Build controlled creative variations | Change one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions. |
| Integrate asynchronous delivery | Use this endpoint when an application can submit work, track completion, and collect the returned media URL instead of requiring an immediate inline artifact. |
| Validate before a large batch | Run representative prompts and source assets first, confirm the visual or audio behavior, then lock the successful request shape for scaled production. |
Prompt Guide
Lead with the subject or transformation, then add the composition, environment, style, lighting, motion, voice, or fidelity details relevant to this route. Keep every parameter inside the documented schema; the example below uses only fields declared for vidu/q2/video-extension/pro.
{
"prompt": "A polished editorial composition with clear subject, lighting, color, and camera direction.",
"duration": 2,
"resolution": "720p"
}
Technical Specs
| Specification | Details |
|---|---|
| Model ID | vidu/q2/video-extension/pro |
| Execution mode | async |
| Task type | video |
seed | integer · optional |
video | string · optional |
prompt | string · required |
duration | integer · optional · choices: 2, 3, 4, 5, 6, 7 |
resolution | string · optional · choices: 720p, 1080p |

