Preview URL to Video
FreshPOSTPOST https://api.creatify.ai/api/link_to_videos/preview/Generate a preview of a URL-to-video task. Previews are lower quality but allow you to verify content before rendering.
Credit Cost
1 credit per 30 seconds of video
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The task ID to preview |
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Content-Type | string | Yes | application/json |
Example Request
bash
curl -X POST 'https://api.creatify.ai/api/link_to_videos/preview/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"id": "ltv-001"
}'Response
json
{
"id": "ltv-001",
"status": "processing",
"preview": null
}When complete:
json
{
"id": "ltv-001",
"status": "done",
"preview": "https://cdn.creatify.ai/previews/ltv-001.mp4"
}Status Codes
| Code | Description |
|---|---|
200 | Preview generation started |
401 | Unauthorized -- invalid API credentials |
402 | Insufficient credits |
404 | Task not found |
500 | Internal server error |
TIP
Always preview before rendering to verify the video content matches your expectations. Previewing costs 1 credit vs 4 credits for rendering.