Regenerate Product Video
FreshPOSTPOST https://api.creatify.ai/api/product_to_videos/{id}/regen_video/Regenerate the product video with a different variation. Use this when the initial generated video does not meet your requirements.
Credit Cost
1 credit per request
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 POST 'https://api.creatify.ai/api/product_to_videos/ptv-001/regen_video/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"id": "ptv-001",
"status": "processing",
"video_url": null,
"created_at": "2024-01-15T10:30:00Z"
}When processing completes:
json
{
"id": "ptv-001",
"status": "done",
"video_url": "https://cdn.creatify.ai/product/ptv-001-regen.mp4",
"created_at": "2024-01-15T10:30:00Z"
}Status Codes
| Code | Description |
|---|---|
200 | Regeneration started |
401 | Unauthorized -- invalid API credentials |
402 | Insufficient credits |
404 | Task not found |
500 | Internal server error |
TIP
Video regeneration uses the current product image. If you want a different look, regenerate the image first with regen_image, then regenerate the video.