AI Scripts
Get AI Script item by id
API Documentation
Link to videos
Links
Lipsyncs
Lipsyncs v2
Text to Speech
AI Shorts
AI Editing
Custom Templates
Avatar
Workspace
AI Scripts
Get AI Script item by id
Mixin to provide a reusable list
method for filtering and paginating queryset results.
GET
/
api
/
ai_scripts
/
{id}
curl --request GET \
--url https://api.creatify.ai/api/ai_scripts/{id}/ \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"language": "ar",
"target_audience": "<string>",
"video_length": 15,
"script_styles": [
"BenefitsV2"
],
"generated_scripts": [
{
"paragraphs": "<string>",
"script_name": "<string>",
"script_style": "",
"title": "<string>"
}
],
"failed_reason": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": 123,
"workspace": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"image_urls": "<any>",
"video_urls": "<any>",
"image_selected": "<any>",
"video_selected": "<any>",
"reviews": "<any>",
"created_with": "link_to_video",
"logo_url": "<string>",
"price": "<string>",
"original_price": "<string>",
"promo_price": "<string>",
"use_promotional_info": true,
"highlight_features": "<string>",
"brand_info": "<string>",
"promotional_details": "<string>",
"trigger_insights": true,
"ai_summary": "<string>",
"ai_target_audiences": "<any>",
"ai_key_features": "<any>",
"ai_keywords": "<any>",
"updated_at": "2023-11-07T05:31:56Z"
},
"credits_used": 123
}
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Path Parameters
A UUID string identifying this ai script job.
Response
200 - application/json
The response is of type object
.
curl --request GET \
--url https://api.creatify.ai/api/ai_scripts/{id}/ \
--header 'X-API-ID: <api-key>' \
--header 'X-API-KEY: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"language": "ar",
"target_audience": "<string>",
"video_length": 15,
"script_styles": [
"BenefitsV2"
],
"generated_scripts": [
{
"paragraphs": "<string>",
"script_name": "<string>",
"script_style": "",
"title": "<string>"
}
],
"failed_reason": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": 123,
"workspace": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"image_urls": "<any>",
"video_urls": "<any>",
"image_selected": "<any>",
"video_selected": "<any>",
"reviews": "<any>",
"created_with": "link_to_video",
"logo_url": "<string>",
"price": "<string>",
"original_price": "<string>",
"promo_price": "<string>",
"use_promotional_info": true,
"highlight_features": "<string>",
"brand_info": "<string>",
"promotional_details": "<string>",
"trigger_insights": true,
"ai_summary": "<string>",
"ai_target_audiences": "<any>",
"ai_key_features": "<any>",
"ai_keywords": "<any>",
"updated_at": "2023-11-07T05:31:56Z"
},
"credits_used": 123
}