Get Product Video
FreshGETGET https://api.creatify.ai/api/product_to_videos/{id}/Retrieve a specific product video task by its ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The product video task ID |
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Example Request
bash
curl -X GET 'https://api.creatify.ai/api/product_to_videos/ptv-001/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"id": "ptv-001",
"status": "done",
"image_url": "https://cdn.creatify.ai/product/ptv-001-gen.jpg",
"video_url": "https://cdn.creatify.ai/product/ptv-001.mp4",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:40:00Z"
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique task identifier |
status | string | Task status: pending, processing, done, failed |
image_url | string | Generated product image URL |
video_url | string | Generated product video URL |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
404 | Task not found |
500 | Internal server error |