Creative studioGeneratedModels
Recast Object Swap
Creative Studio video model reference for the public API.
Recast Object Swap
Public model ID: recast-object-swap
Asset type: video
Category: Editing
Starting credits: 6 (defaults: 14)
Billed per second of input: the longest of video, from 4s to 30s (102 credits at 30s).
Prompt optional.
Start a generation
curl -s -X POST "$API_BASE_URL/v1/creative-studio/generations" \
-H "Authorization: Bearer vsl_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelId": "recast-object-swap",
"prompt": "Your prompt here",
"video": ["https://example.com/reference.jpg"],
"resolution": "720p"
}' | jqPoll GET /v1/creative-studio/generations/{id} until status is completed. Completed generations return outputUrl on cdn.videoslash.com.
Media parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
video | string | required · max items: 1 | — | Source video containing the person or object to replace. MP4 or MOV, at least 4 seconds and at least 409,600 pixels per frame (for example 854x480). Clips longer than 30 seconds use the first 30 seconds. Cost scales with the clip length. |
reference_images | array | required · max items: 8 | — | The new person or object to swap in. One clear, well-lit photo works; add more angles for better fidelity. Up to 8 images. |
Settings parameters
| Name | Type | Constraints | Default | Description |
|---|---|---|---|---|
resolution | enum | optional · enum: 480p, 720p, 1080p | 720p | Output resolution. Higher resolutions cost more per second of source video. |