Preview AI Editing
FreshPOSTPOST https://api.creatify.ai/api/ai_editing/{id}/preview/Generate a preview of the AI-edited video. Use previews to verify the editing results before committing to a full render.
Credit Cost
1 credit per 30 seconds of video
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The AI editing 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/ai_editing/edit-001/preview/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"id": "edit-001",
"status": "processing",
"preview": null
}When complete:
json
{
"id": "edit-001",
"status": "done",
"preview": "https://cdn.creatify.ai/editing/edit-001-preview.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 |