Skip to content

Preview AI Editing

FreshPOST
POST 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

NameTypeRequiredDescription
idstringYesThe AI editing task ID

Headers

HeaderTypeRequiredDescription
X-API-IDstringYesYour Creatify API ID
X-API-KEYstringYesYour 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

CodeDescription
200Preview generation started
401Unauthorized -- invalid API credentials
402Insufficient credits
404Task not found
500Internal server error