# Ad Clone API Source: https://docs.creatify.ai/api-documentation/ad-clone/ad-clone Recreate high-performing ads using your product and a reference ad video. [Ad Clone Demo](https://www.youtube.com/embed/pjF_V5v3KYc) ## 🚀 Introduction The **Ad Clone API** helps you recreate winning ads by combining your **product assets** (via a Link) with a **reference ad video**.\ By analyzing the structure, pacing, and style of the reference ad, Creatify generates a new ad tailored to your product. *** ## 1. Create Link from URL Extract content (title, description, images, videos, etc.) from a product URL. [`POST /api/links/`](/api-reference/links/post-apilinks) ```bash Example Request theme={null} Example request and response: curl --request POST \ --url https://api.creatify.ai/api/links/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: ' \ --header 'X-API-KEY: ' \ --data '{ "url": "https://www.amazon.com/ATTITUDE-Mineral-Based-Ingredients-Cruelty-free-Moisturizer/dp/B09JZXHJM7" }' ``` ```json Example Response [expandable] theme={null} { "id": "e63ce1e4-97cb-4ba6-937a-50e88925a321", "url": "https://www.amazon.com/ATTITUDE-Mineral-Based-Ingredients-Cruelty-free-Moisturizer/dp/B09JZXHJM7", "link": { "id": "839668ff-ae2a-4500-8f53-c76a1840ed74", "url": "https://www.amazon.com/ATTITUDE-Mineral-Based-Ingredients-Cruelty-free-Moisturizer/dp/B09JZXHJM7", "title": "ATTITUDE Body Cream, Moisturizer for Dry Skin, EWG Verified, Vegan & Dermatologist-Tested, Deep Hydration, Pear & Amber Scent, 8 Fl Oz (Pack of 6)", "description": "About this item EWG VERIFIED: This body cream for women and men is certified EWG Verified and made with clean ingredients that meet the Environmental Working Group's strict health and safety standards so you can feel confident that it does not contain any potentially concerning ingredients. CLEAN FORMULA: This ATTITUDE body cream is made with 98% natural-origin ingredients, and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, for a worry-free experience. HIGH PERFORMANCE: Infused with watercress and Indian cress extracts, this fast-absorbing, non-greasy and non-sticky EWG Verified hand cream leaves hands soft and smooth. Suitable for both women and men. PEAR & AMBER: This bright and delicate fragrance features juicy pear with vibrant notes of nectarine and ginger for a naturally energizing and refreshing experience. RESPONSIBLE BEAUTY: Dermatologically tested, 100% vegan, and packaged in an easily recyclable reusable HDPE plastic bottle for a routine that’s kind to everything. \n › See more product details", "image_urls": [ "https://m.media-amazon.com/images/I/71xB-ss26gL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71H9i6r9TUL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71PHtZce95L._SL1500_.jpg", "https://m.media-amazon.com/images/I/81rjeQ6iLOL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61YO5awH0OL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61uAyKZ1WFL.jpg", "https://m.media-amazon.com/images/I/71O3xDdrjTL.jpg", "https://m.media-amazon.com/images/I/91BJZbo4nAL.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/videos/1984d47b-7110-86c3-f38d-b7b3daff27db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/ebf4c8b5-b774-55f1-28d9-f24a4aa436db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/3f036f62-d4e1-9a31-6257-6dfb93567cc9.mp4" ], "reviews": [ "I can't get enough of this lotion. It's very moisturizing. It glides on without any stickiness and it has a very mild scent. The absolute best feature of this lotion is that it is EWG verified and is easy to apply. I also like that they include olive leaves and watercress leaves in their ingredients. I'm glad I gave this lotion a try." ], "logo_url": null, "ai_summary": "The ATTITUDE Body Cream is an EWG Verified moisturizer designed for dry skin, made with 98% natural-origin ingredients and free from SLS, SLES, petrolatum, mineral oil, and artificial colors. Suitable for both women and men, this dermatologist-tested, 100% vegan cream offers deep hydration with a fast-absorbing, non-greasy, and non-sticky formula enriched with watercress and Indian cress extracts. It features a refreshing pear and amber scent with notes of nectarine and ginger, providing an energizing fragrance. Packaged in a recyclable HDPE plastic bottle, this moisturizer combines effective skincare with environmental responsibility. This pack contains six 8 fl oz bottles.", "ai_industry": "Beauty & Personal Care", "ai_target_audiences": [ "Clean beauty enthusiasts", "Vegan skincare users", "EWG-conscious consumers", "Dry skin sufferers", "Eco-friendly shoppers", "Fragrance lovers", "Dermatology tested users" ], "brand_color": null, "qrcode_url": null, "primary_image_url": null }, "credits_used": 1 } ``` > 💡 Errors: > > 1. Successfully scraped the URL but it contains no images or videos.\ > status\_code: 400\ > body: \["Link must have at least one image or one video."] > 2. Failed to scrape the URL (due to anti-scraping or other issues).\ > status\_code: 400\ > body: \["Failed to scrape url: "] *** ## 2. (Optional) Create Link with Parameters If you don’t have a URL but have product data, create a link directly using parameters. [`POST /api/links/link_with_params/`](/api-reference/links/post-apilink_with_params) ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/links/link_with_params/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: ' \ --header 'X-API-KEY: ' \ --data '{ "title": "ATTITUDE Body Cream, Moisturizer for Dry Skin, EWG Verified, Vegan & Dermatologist-Tested, Deep Hydration, Pear & Amber Scent, 8 Fl Oz (Pack of 6)", "description": "About this item EWG VERIFIED: This body cream for women and men is certified EWG Verified and made with clean ingredients that meet the Environmental Working Group's strict health and safety standards so you can feel confident that it does not contain any potentially concerning ingredients. CLEAN FORMULA: This ATTITUDE body cream is made with 98% natural-origin ingredients, and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, for a worry-free experience. HIGH PERFORMANCE: Infused with watercress and Indian cress extracts, this fast-absorbing, non-greasy and non-sticky EWG Verified hand cream leaves hands soft and smooth. Suitable for both women and men. PEAR & AMBER: This bright and delicate fragrance features juicy pear with vibrant notes of nectarine and ginger for a naturally energizing and refreshing experience. RESPONSIBLE BEAUTY: Dermatologically tested, 100% vegan, and packaged in an easily recyclable reusable HDPE plastic bottle for a routine that’s kind to everything. \n › See more product details", "image_urls": [ "https://m.media-amazon.com/images/I/71xB-ss26gL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71H9i6r9TUL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71PHtZce95L._SL1500_.jpg", "https://m.media-amazon.com/images/I/81rjeQ6iLOL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61YO5awH0OL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61uAyKZ1WFL.jpg", "https://m.media-amazon.com/images/I/71O3xDdrjTL.jpg", "https://m.media-amazon.com/images/I/91BJZbo4nAL.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/videos/1984d47b-7110-86c3-f38d-b7b3daff27db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/ebf4c8b5-b774-55f1-28d9-f24a4aa436db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/3f036f62-d4e1-9a31-6257-6dfb93567cc9.mp4" ] }' ``` ```json Example Response [expandable] theme={null} { "id": "21ce43ad-ae5e-4f3d-96fa-58a1e5b966f0", "url": "placeholder-21ce43ad-ae5e-4f3d-96fa-58a1e5b966f0", "link": { "id": "e6bea53f-1f03-42a8-aee8-637f69714afd", "url": "placeholder-21ce43ad-ae5e-4f3d-96fa-58a1e5b966f0", "title": "ATTITUDE Body Cream, Moisturizer for Dry Skin, EWG Verified, Vegan & Dermatologist-Tested, Deep Hydration, Pear & Amber Scent, 8 Fl Oz (Pack of 6)", "description": "About this item EWG VERIFIED: This body cream for women and men is certified EWG Verified and made with clean ingredients that meet the Environmental Working Group's strict health and safety standards so you can feel confident that it does not contain any potentially concerning ingredients. CLEAN FORMULA: This ATTITUDE body cream is made with 98% natural-origin ingredients, and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, for a worry-free experience. HIGH PERFORMANCE: Infused with watercress and Indian cress extracts, this fast-absorbing, non-greasy and non-sticky EWG Verified hand cream leaves hands soft and smooth. Suitable for both women and men. PEAR & AMBER: This bright and delicate fragrance features juicy pear with vibrant notes of nectarine and ginger for a naturally energizing and refreshing experience. RESPONSIBLE BEAUTY: Dermatologically tested, 100% vegan, and packaged in an easily recyclable reusable HDPE plastic bottle for a routine that’s kind to everything. \n › See more product details", "image_urls": [ "https://m.media-amazon.com/images/I/71xB-ss26gL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71H9i6r9TUL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71PHtZce95L._SL1500_.jpg", "https://m.media-amazon.com/images/I/81rjeQ6iLOL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61YO5awH0OL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61uAyKZ1WFL.jpg", "https://m.media-amazon.com/images/I/71O3xDdrjTL.jpg", "https://m.media-amazon.com/images/I/91BJZbo4nAL.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/videos/1984d47b-7110-86c3-f38d-b7b3daff27db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/ebf4c8b5-b774-55f1-28d9-f24a4aa436db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/3f036f62-d4e1-9a31-6257-6dfb93567cc9.mp4" ], "reviews": null, "logo_url": null, "ai_summary": "ATTITUDE Body Cream is an EWG Verified moisturizer designed for dry skin, made with 98% natural-origin ingredients and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, ensuring a clean and safe formula. Suitable for both women and men, this fast-absorbing, non-greasy, and non-sticky cream is infused with watercress and Indian cress extracts to provide deep hydration, leaving skin soft and smooth. It features a bright, delicate pear and amber scent with notes of nectarine and ginger for a refreshing experience. Dermatologist-tested, 100% vegan, and packaged in a recyclable HDPE plastic bottle, this product supports a responsible and sustainable beauty routine. The pack contains six 8 fl oz bottles.", "ai_industry": "Skincare", "ai_target_audiences": [ "Clean beauty enthusiasts", "Vegan skincare users", "Dry skin sufferers", "Eco-conscious consumers", "Natural ingredient advocates", "Fragrance lovers", "Dermatologist-tested product users" ], "brand_color": null, "qrcode_url": null, "primary_image_url": null }, "credits_used": 0 } ``` > 💡 If no videos are included, provide at least **1 image.**. *** ## 3. (Optional) Update Link Modify an existing link’s metadata (title, description, images, videos). [`PUT /api/links/{id}/`](/api-reference/links/put-apilinks-) ```bash Example Request theme={null} curl --request PUT \ --url https://api.creatify.ai/api/links/21ce43ad-ae5e-4f3d-96fa-58a1e5b966f0/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: ' \ --header 'X-API-KEY: ' \ --data '{ "title": "ATTITUDE Body Cream, Moisturizer for Dry Skin, EWG Verified, Vegan & Dermatologist-Tested, Deep Hydration, Pear & Amber Scent, 8 Fl Oz (Pack of 6)", "description": "About this item EWG VERIFIED: This body cream for women and men is certified EWG Verified and made with clean ingredients that meet the Environmental Working Group's strict health and safety standards so you can feel confident that it does not contain any potentially concerning ingredients. CLEAN FORMULA: This ATTITUDE body cream is made with 98% natural-origin ingredients, and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, for a worry-free experience. HIGH PERFORMANCE: Infused with watercress and Indian cress extracts, this fast-absorbing, non-greasy and non-sticky EWG Verified hand cream leaves hands soft and smooth. Suitable for both women and men.", "image_urls": [ "https://m.media-amazon.com/images/I/71xB-ss26gL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71H9i6r9TUL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71PHtZce95L._SL1500_.jpg", "https://m.media-amazon.com/images/I/81rjeQ6iLOL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61YO5awH0OL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61uAyKZ1WFL.jpg", "https://m.media-amazon.com/images/I/71O3xDdrjTL.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/videos/1984d47b-7110-86c3-f38d-b7b3daff27db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/ebf4c8b5-b774-55f1-28d9-f24a4aa436db.mp4" ] }' ``` ```json Example Response [expandable] theme={null} { "id": "e6bea53f-1f03-42a8-aee8-637f69714afd", "url": "placeholder-21ce43ad-ae5e-4f3d-96fa-58a1e5b966f0", "title": "ATTITUDE Body Cream, Moisturizer for Dry Skin, EWG Verified, Vegan & Dermatologist-Tested, Deep Hydration, Pear & Amber Scent, 8 Fl Oz (Pack of 6)", "description": "About this item EWG VERIFIED: This body cream for women and men is certified EWG Verified and made with clean ingredients that meet the Environmental Working Group's strict health and safety standards so you can feel confident that it does not contain any potentially concerning ingredients. CLEAN FORMULA: This ATTITUDE body cream is made with 98% natural-origin ingredients, and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, for a worry-free experience. HIGH PERFORMANCE: Infused with watercress and Indian cress extracts, this fast-absorbing, non-greasy and non-sticky EWG Verified hand cream leaves hands soft and smooth. Suitable for both women and men.", "image_urls": [ "https://m.media-amazon.com/images/I/71xB-ss26gL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71H9i6r9TUL._SL1500_.jpg", "https://m.media-amazon.com/images/I/71PHtZce95L._SL1500_.jpg", "https://m.media-amazon.com/images/I/81rjeQ6iLOL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61YO5awH0OL._SL1500_.jpg", "https://m.media-amazon.com/images/I/61uAyKZ1WFL.jpg", "https://m.media-amazon.com/images/I/71O3xDdrjTL.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/videos/1984d47b-7110-86c3-f38d-b7b3daff27db.mp4", "https://d35ghwdno3nak3.cloudfront.net/videos/ebf4c8b5-b774-55f1-28d9-f24a4aa436db.mp4" ], "reviews": null, "logo_url": null, "ai_summary": "ATTITUDE Body Cream is an EWG Verified moisturizer designed for dry skin, made with 98% natural-origin ingredients and free from SLS, SLES, petrolatum, mineral oil, and artificial colors, ensuring a clean and safe formula. Suitable for both women and men, this fast-absorbing, non-greasy, and non-sticky cream is infused with watercress and Indian cress extracts to provide deep hydration, leaving skin soft and smooth. It features a bright, delicate pear and amber scent with notes of nectarine and ginger for a refreshing experience. Dermatologist-tested, 100% vegan, and packaged in a recyclable HDPE plastic bottle, this product supports a responsible and sustainable beauty routine. The pack contains six 8 fl oz bottles.", "ai_industry": "Skincare", "ai_target_audiences": [ "Clean beauty enthusiasts", "Vegan skincare users", "Dry skin sufferers", "Eco-conscious consumers", "Natural ingredient advocates", "Fragrance lovers", "Dermatologist-tested product users" ], "brand_color": null, "qrcode_url": null, "primary_image_url": null } ``` *** ## 4. Create Ad Clone Task Create an Ad Clone task using the above **Link ID** and a reference ad video URL. [`POST /api/ads_clone/`](/api-reference/ad-clone/post-ad-clone) ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/ads_clone/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: ' \ --header 'X-API-KEY: ' \ --data '{ "link": "e63ce1e4-97cb-4ba6-937a-50e88925a321, "video_url": "https://d35ghwdno3nak3.cloudfront.net/media_file/18165/2caea2fb194664e5d736c0d8f73bf802.mp4", "aspect_ratio": "9x16", "language": null }' ``` ```json Example Response [expandable] theme={null} { "id": "a1cbde83-1be7-4ecd-9ee3-4c72f17af8e9", "created_at": "2025-12-24T02:56:42.926254-08:00", "updated_at": "2025-12-24T02:56:42.926303-08:00", "link": "e63ce1e4-97cb-4ba6-937a-50e88925a321", "video_url": null, "aspect_ratio": "9x16", "language": null, "webhook_url": null, "video_output": null, "credits_used": 0, "media_job": "a48e8d3a-1045-4830-90dd-c65792747bad", "status": "running" } ``` > 🎬 Save the returned `id` and use it to check the task status. *** ## 5. Check Ad Clone Status Poll the status endpoint until `status` becomes `done`. [`GET /api/ads_clone/{id}/`](/api-reference/ad-clone/get-ad-clone-) ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/ads_clone/a1cbde83-1be7-4ecd-9ee3-4c72f17af8e9/ \ --header 'X-API-ID: ' \ --header 'X-API-KEY: ' ``` ```json Example Response [expandable] theme={null} { "id": "a1cbde83-1be7-4ecd-9ee3-4c72f17af8e9", "created_at": "2025-12-23T23:13:31.791310-08:00", "updated_at": "2025-12-24T01:39:15.442115-08:00", "link": "e63ce1e4-97cb-4ba6-937a-50e88925a321", "video_url": "https://d35ghwdno3nak3.cloudfront.net/media_file/18165/2caea2fb194664e5d736c0d8f73bf802.mp4", "aspect_ratio": "9x16", "language": null, "webhook_url": null, "video_output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/qlkkz11bn8/output.mp4", "credits_used": 15, "media_job": "3fedc33e-fcd7-4655-9585-6896167c0508", "status": "done" } ``` > ✅ When `status` is `done`, retrieve your video from the `video_output` field. *** ## 6. Webhook Option Instead of polling, you can provide a `webhook_url` in the request to receive the result automatically when the video is ready.\ When processing completes, Aurora will send a POST request to your webhook with a payload like this: ```json theme={null} { "id": "a1cbde83-1be7-4ecd-9ee3-4c72f17af8e9", "status": "done", "failed_reason": "", "video_output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/qlkkz11bn8/output.mp4" } ``` *** ## 🎯 Summary | Step | Endpoint | | - | - | | Create Link | `POST /api/links/` | | Create Task | `POST /api/ads_clone/` | | Check Status | `GET /api/ads_clone/{id}/` | | API Reference | [Ad Clone Reference](/api-reference/ad-clone/post-ad-clone) | *** ## 💳 Pricing Creating an Ad Clone video through this endpoint costs **12 credits per 5 seconds** of the **reference video** length.\ For example, a 30-second reference video costs **72 credits**. *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # Overview (v1) Source: https://docs.creatify.ai/api-documentation/ai-avatar/lipsync API that converts text or audio files to vivid videos of people speaking. 🔁 We recommend upgrading to the `AI Avatar v2 API` for greater creative flexibility, including multi-scene composition, custom voices, backgrounds, and fine-grained control over captions and transitions. ## 🚀 Introduction The **AI Avatar API** enables you to generate realistic, high-quality videos of virtual people speaking from any text or audio input. Whether you're building a marketing campaign, a product demo, or an educational assistant, this API offers an intuitive way to bring your content to life—powered by customizable personas and simple integration. ![AI Avatar Snapshot](https://mintcdn.com/creatify/fobKWPKCdJDOWjln/snapshots/ai_avatar.png?fit=max\&auto=format\&n=fobKWPKCdJDOWjln\&q=85\&s=694734d50aed218ce4da1d2ca01c1f5e) *** ## ⚙️ Quickstart Guide ### ✅ Prerequisites Before you begin, ensure you have: * A [Creatify](https://app.creatify.ai) account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 🧑‍🎤 Step 1: Choose a Persona We offer **1500+ lifelike personas** with diverse styles and expressions to match your use case. * Explore the full list here: [Get Personas API](/api-reference/personas/get-apipersonas/) This API returns a list of available personas, each with a unique id field. Use the `id` of the selected persona as the `creator` parameter when generating your video. *** ## 📝 Step 2: Submit a Video Generation Request Use this endpoint to generate a video of a person speaking from text. ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/lipsyncs/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "text": "hello world", "creator": "18fccce8-86e7-5f31-abc8-18915cb872be", "aspect_ratio": "9:16", "model_version": "aurora_v1_fast" }' ``` ```json Example Response [expandable] theme={null} { "id": "4c0b2b3c-dcbb-4c12-8e98-a1e0643d5394", "name": null, "text": "hello world", "creator": "18fccce8-86e7-5f31-abc8-18915cb872be", "output": null, "video_thumbnail": null, "aspect_ratio": "9x16", "green_screen": false, "created_at": "2025-05-21T11:03:56.058716-07:00", "updated_at": "2025-05-21T11:03:56.058742-07:00", "credits_used": 0, "progress": 0, "failed_reason": null, "media_job": null, "status": "pending", "is_hidden": false, "audio_url": null, "webhook_url": null, "accent": null, "preview": null, "preview_audio": null, "no_caption": true, "no_music": true, "caption_style": "normal-black", "caption_offset_x": "0.00", "caption_offset_y": "-0.40", "background_asset_image_url": "https://app.creatify.ai/bg.jpg" } ``` > ⚠️ Save the `id` — you'll need it to check the status. *** ## ⏳ Step 3: Check Video Generation Status After submitting a video generation request, use the returned task ID to monitor progress and retrieve the completed video when it's ready. ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/lipsyncs/4c0b2b3c-dcbb-4c12-8e98-a1e0643d5394 \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response [expandable] theme={null} { "id": "4c0b2b3c-dcbb-4c12-8e98-a1e0643d5394", "name": null, "text": "hello world", "creator": "18fccce8-86e7-5f31-abc8-18915cb872be", "output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/t1evol64tg/output.mp4", "video_thumbnail": "https://dpbavq092lwjh.cloudfront.net/amzptv/d58c6c38-4910-420d-b6a0-78402e2ebcaf-1747850651/thumbnail.jpg", "aspect_ratio": "9x16", "green_screen": false, "created_at": "2025-05-21T11:03:56.058716-07:00", "updated_at": "2025-05-21T11:04:11.533648-07:00", "credits_used": 5, "progress": 1, "failed_reason": null, "media_job": "d58c6c38-4910-420d-b6a0-78402e2ebcaf", "status": "done", "is_hidden": false, "audio_url": null, "webhook_url": null, "accent": null, "preview": "https://app.creatify.ai/preview?layout=videos/20250521/3b7957ea-0efd-42df-90de-bd3e1ea3b451.json", "preview_audio": "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-05-21/af7e-req-xUnTEy7jObxDLiRum8wh-0-s.mp3", "no_caption": true, "no_music": true, "caption_style": "normal-black", "caption_offset_x": "0.00", "caption_offset_y": "-0.40", "background_asset_image_url": "https://app.creatify.ai/bg.jpg" } ``` > ⏳ Once the `status` is `done`, download the video from the `output` field. *** ## 🎯 Summary | Step | Endpoint | | - | - | | List Personas | `GET /api/personas/` | | Create Task | `POST /api/lipsyncs/` | | Check Status | `GET /api/lipsyncs/{id}/` | | API Reference | [AI Avatar API Reference](/api-reference/lipsyncs/post-apilipsyncs) | *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # Overview (v2) Source: https://docs.creatify.ai/api-documentation/ai-avatar/lipsync-v2 Generate vivid, personalized videos featuring multiple scenes — each with its own avatar, voice, background, and styling — using a structured list of inputs. ## 🚀 Introduction We recommend trying our **AI Avatar V2 API** — a powerful and flexible way to generate rich, multi-scene videos tailored to your brand, message, or audience. With this API, you can define a list of video segments and customize each with: * 🎭 Character (avatar) selection * 🗣️ Text-to-voiceover (with your chosen voice and accent) * 🖼️ Background image or video * 🎯 Call-to-action (CTA) options * ✍️ Caption position, style, and formatting This gives you full control to create immersive, story-driven content that matches your creative needs. > 🚀 Follow our **Quickstart Guide** below to get up and running in minutes. ![AI Avatar Snapshot](https://mintcdn.com/creatify/fobKWPKCdJDOWjln/snapshots/ai_avatar.png?fit=max\&auto=format\&n=fobKWPKCdJDOWjln\&q=85\&s=694734d50aed218ce4da1d2ca01c1f5e) *** ## ⚙️ Quickstart Guide ### ✅ Prerequisites Before you begin, ensure you have: * A [Creatify](https://app.creatify.ai) account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 👤 Step 1: Choose Avatars and Voices You’ll need an `avatar_id` and a `voice_id` for each speaking segment. * Use the [Get Avatars API](/api-reference/personas/get-apipersonas) to retrieve `avatar_id` * Use the [Get Voices API](/api-reference/voices/get-apivoices) to retrieve `voice_id` Each avatar + voice combination represents one unique speaker. ### 👨‍🎤 Personas [Browse Personas Here](/api-reference/personas/get-apipersonas/) We offer 1500+ lifelike personas to bring your videos to life: *** ### 🎙️ Voices [Browse Voices Here](/api-reference/voices/get-apivoices) Creatify offers a wide range of AI voices that bring your avatars to life with natural, expressive speech. Each voice supports multiple accents so you can tailor the sound to your audience or region. To select a voice, use the `voice_id` from the accent you want in your request. This provides fine-grained control over tone, language, and personality. * Use `voice_id` to override the default voice associated with an avatar. * If `voice_id` is not provided, the system will use the default voice linked to the selected avatar. > 💡 Each voice includes multiple accents — select the one that fits your content best using the provided `id`. ### Example Response from `GET /api/voices/` ```json theme={null} [ { "name": "Fatima", "gender": "female", "accents": [ { "id": "3480f048-8883-4bdc-b57f-4e7078e94b18", "accent_name": "American English accent", "preview_url": "https://d35ghwdno3nak3.cloudfront.net/accent_preview_new_/el-689d6bc2-c93e-4a50-a36b-3b171c729843_s.mp3" } ] } ] ``` Use the `id` from the `accents` list as your `voice_id` in the video generation request. *** ## 📅 Step 2: Submit a Video Generation Request Use the [AI Avatar v2 Endpoint](/api-reference/lipsyncs_v2/post-apilipsyncs) to submit a video generation request. ```bash Example Request [expandable] theme={null} curl --request POST \ --url https://api.creatify.ai/api/lipsyncs_v2/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "video_inputs": [ { "character": { "type": "avatar", "avatar_id": "7350375b-9a98-51b8-934d-14d46a645dc2", "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 } }, "voice": { "type": "text", "input_text": "Absolutely mind-blowing! The Apple Vision Pro turns any room into a cinematic experience with its Spatial Audio and Immersive Video.", "voice_id": "6f8ca7a8-87b9-4f5d-905d-cc4598e79717" }, "background": { "type": "image", "url": "https://video.creatify.ai/bg.jpg" }, "caption_setting": { "style": "normal-black", "offset": { "x": 0, "y": 0.45 } } }, { "character": { "type": "avatar", "avatar_id": "18fccce8-86e7-5f31-abc8-18915cb872be", "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 } }, "voice": { "type": "text", "input_text": "Truly, a next-level entertainment device. Get yours now and experience the magic firsthand!", "voice_id": "360ab221-d951-413b-ba1a-7037dc67da16" }, "background": { "type": "image", "url": "https://video.creatify.ai/bg.jpg" }, "caption_setting": { "style": "normal-black", "offset": { "x": 0, "y": 0.45 } } } ], "aspect_ratio": "9x16", "model_version": "aurora_v1_fast" }' ``` ```json Example Response [expandable] theme={null} { "id": "0a15fff5-8906-4de0-bbf2-511bd3b5db23", "name": null, "output": null, "video_thumbnail": null, "created_at": "2025-05-21T11:38:05.558338-07:00", "updated_at": "2025-05-21T11:38:05.700088-07:00", "credits_used": 0, "progress": 0, "failed_reason": null, "media_job": "9f5e31fe-bf60-4e82-b6aa-36f8683a2157", "status": "pending", "webhook_url": null, "preview": null, "aspect_ratio": "9x16", "video_inputs": [ { "character": { "type": "avatar", "avatar_id": "7350375b-9a98-51b8-934d-14d46a645dc2", "scale": 1.0, "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 }, "hidden": false }, "voice": { "type": "text", "input_text": "Absolutely mind-blowing! The Apple Vision Pro turns any room into a cinematic experience with its Spatial Audio and Immersive Video.", "voice_id": "6f8ca7a8-87b9-4f5d-905d-cc4598e79717", "volume": 0.8 }, "caption_setting": { "style": "normal-black", "offset": { "x": 0.0, "y": 0.45 }, "font_family": "Montserrat", "font_size": 70, "font_style": null, "background_color": null, "text_color": null, "highlight_text_color": null, "max_width": null, "line_height": null, "text_shadow": null, "hidden": false }, "background": { "type": "image", "url": "https://d35ghwdno3nak3.cloudfront.net/images/71648ae7.jpg", "fit": "crop", "effect": null }, "transition_effect": { "transition_in": null, "transition_out": null }, "visual_style": null }, { "character": { "type": "avatar", "avatar_id": "18fccce8-86e7-5f31-abc8-18915cb872be", "scale": 1.0, "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 }, "hidden": false }, "voice": { "type": "text", "input_text": "Truly, a next-level entertainment device. Get yours now and experience the magic firsthand!", "voice_id": "360ab221-d951-413b-ba1a-7037dc67da16", "volume": 0.8 }, "caption_setting": { "style": "normal-black", "offset": { "x": 0.0, "y": 0.45 }, "font_family": "Montserrat", "font_size": 70, "font_style": null, "background_color": null, "text_color": null, "highlight_text_color": null, "max_width": null, "line_height": null, "text_shadow": null, "hidden": false }, "background": { "type": "image", "url": "https://d35ghwdno3nak3.cloudfront.net/images/71648ae7.jpg", "fit": "crop", "effect": null }, "transition_effect": { "transition_in": null, "transition_out": null }, "visual_style": null } ] } ``` > ⚠️ Save the `id` — you'll use it to check progress. *** ## ⏳ Step 3: Check Generation Status After submitting a video generation request, use the returned task ID to monitor progress and retrieve the completed video when it's ready. ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/lipsyncs_v2/0a15fff5-8906-4de0-bbf2-511bd3b5db23/ \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response [expandable] theme={null} { "id": "0a15fff5-8906-4de0-bbf2-511bd3b5db23", "name": null, "output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/qgyaj0flwt/output.mp4", "video_thumbnail": "https://dpbavq092lwjh.cloudfront.net/amzptv/9f5e31fe-bf60-4e82-b6aa-36f8683a2157-1747852767/thumbnail.jpg", "created_at": "2025-05-21T11:38:05.558338-07:00", "updated_at": "2025-05-21T11:39:28.059339-07:00", "credits_used": 5, "progress": 1, "failed_reason": null, "media_job": "9f5e31fe-bf60-4e82-b6aa-36f8683a2157", "status": "done", "webhook_url": null, "preview": "https://app.creatify.ai/preview?layout=videos/20250521/c45abe03-5aec-47c6-88da-303619e86df8.json", "aspect_ratio": "9x16", "video_inputs": [ { "character": { "type": "avatar", "avatar_id": "7350375b-9a98-51b8-934d-14d46a645dc2", "scale": 1.0, "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 }, "hidden": false }, "voice": { "type": "text", "input_text": "Absolutely mind-blowing! The Apple Vision Pro turns any room into a cinematic experience with its Spatial Audio and Immersive Video.", "voice_id": "6f8ca7a8-87b9-4f5d-905d-cc4598e79717", "volume": 0.8 }, "caption_setting": { "style": "normal-black", "offset": { "x": 0.0, "y": 0.45 }, "font_family": "Montserrat", "font_size": 70, "font_style": null, "background_color": null, "text_color": null, "highlight_text_color": null, "max_width": null, "line_height": null, "text_shadow": null, "hidden": false }, "background": { "type": "image", "url": "https://d35ghwdno3nak3.cloudfront.net/images/71648ae7.jpg", "fit": "crop", "effect": null }, "transition_effect": { "transition_in": null, "transition_out": null }, "visual_style": null }, { "character": { "type": "avatar", "avatar_id": "18fccce8-86e7-5f31-abc8-18915cb872be", "scale": 1.0, "avatar_style": "normal", "offset": { "x": -0.23, "y": 0.35 }, "hidden": false }, "voice": { "type": "text", "input_text": "Truly, a next-level entertainment device. Get yours now and experience the magic firsthand!", "voice_id": "360ab221-d951-413b-ba1a-7037dc67da16", "volume": 0.8 }, "caption_setting": { "style": "normal-black", "offset": { "x": 0.0, "y": 0.45 }, "font_family": "Montserrat", "font_size": 70, "font_style": null, "background_color": null, "text_color": null, "highlight_text_color": null, "max_width": null, "line_height": null, "text_shadow": null, "hidden": false }, "background": { "type": "image", "url": "https://d35ghwdno3nak3.cloudfront.net/images/71648ae7.jpg", "fit": "crop", "effect": null }, "transition_effect": { "transition_in": null, "transition_out": null }, "visual_style": null } ] } ``` > ⏳ Once the `status` is `done`, download the video from the `output` field. *** ## 🎯 Summary | Step | Endpoint | | - | - | | Get Avatars | `GET /api/personas/` | | Get Voices | `GET /api/voices/` | | Create Task | `POST /api/lipsyncs/multi_avatar/` | | Check Status | `GET /api/lipsyncs/{id}/` | | API Reference | [Multi-Avatar Reference](/api-reference/lipsyncs/post-apilipsyncs-multi-avatar) | *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # AI Video Editing API Source: https://docs.creatify.ai/api-documentation/ai-editing/ai-editing Use AI to automatically enhance and stylize your videos with professional editing templates. > [!WARNING] > > **Deprecated:** AI Editing API is deprecated and will be removed in a future release. Please use [URL to Video](/api-documentation/url-to-video/link-to-video) or [Custom Templates](/api-reference/custom-templates) instead. ## 🚀 Introduction The **AI Editing API** allows you to upload a raw video and apply cinematic editing styles automatically. It's perfect for turning user-generated or brand footage into share-worthy content with minimal effort. Whether you're creating marketing reels, tutorials, or social posts — our API applies consistent, high-quality editing based on your selected `editing_style`. ![AI Editing Snapshot](https://mintcdn.com/creatify/fobKWPKCdJDOWjln/snapshots/ai_avatar.png?fit=max\&auto=format\&n=fobKWPKCdJDOWjln\&q=85\&s=694734d50aed218ce4da1d2ca01c1f5e) *** ## ⚙️ Quickstart Guide ### ✅ Prerequisites Before you begin, ensure you have: * A [Creatify](https://app.creatify.ai) account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 📝 Step 1: Submit a Video Editing Request Use this endpoint to initiate AI-based editing on your video. ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/ai_editing/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "video_url": "https://d35ghwdno3nak3.cloudfront.net/media_file/2/20240805/038a9606-7b03-4fdd-a44d-122195a97afb_jun-16x9.mp4", "editing_style": "film" }' ``` ```json Example Response theme={null} { "id": "7b8212dc-13ac-4719-948b-9ca1bc47f0e3", "media_job": null, "status": "pending", "video_output": null, "preview": null, "credits_used": 0, "is_hidden": false, "progress": 0, "created_at": "2025-05-21T22:52:36.132791-07:00", "updated_at": "2025-05-21T22:52:36.132813-07:00", "permission_type": "workspace", "name": "Viral cut", "script": "Imagine a day where every task feels effortless. Your home adjusts to your needs before you even ask. That's the promise of our smart home devices. Upgrade your living with the latest in technology, where convenience meets innovation. Discover gadgets that don't just simplify, but transform your daily routines. From sunrise to sunset, let your home do the work. It's not just smart, it's future ready. Explore our collection today and step into the home of tomorrow.", "aspect_ratio": "16x9", "is_talking_video": true, "is_one_person_in_video": true, "editing_style": "film", "duration": 25.92, "audio_url": "https://d35ghwdno3nak3.cloudfront.net/ai_viral_cut/audio_files/a62c947c_output.wav", "video_url": "https://d35ghwdno3nak3.cloudfront.net/ai_viral_cut/temp_videos/37a4d253.mp4", "size": 0.0, "created_from_api": true, "caption_setting": null, "background_music_url": null, "background_music_volume": null, "voiceover_volume": null, "webhook_url": null, "user": 18165, "workspace": "a1240918-1f02-47f1-bebe-832a555507f3" } ``` > 🎬 The response includes a unique video ID. Save it to check status. *** ## ⏳ Step 2: Check Editing Status Once submitted, your video will be processed asynchronously. Use the task ID to track progress and retrieve the final output. ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/ai_editing/7b8212dc-13ac-4719-948b-9ca1bc47f0e3/ \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response theme={null} { "id": "7b8212dc-13ac-4719-948b-9ca1bc47f0e3", "media_job": "2caa4cd5-d071-4ee7-89c7-84bd64a32f9a", "status": "done", "video_output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/g68go892x3/output.mp4", "preview": "https://app.creatify.ai/preview?layout=videos/20250521/34a6ddd3-7651-4982-ba97-2fa15a8cc466.json", "credits_used": 5, "is_hidden": false, "progress": 1, "created_at": "2025-05-21T22:52:36.132791-07:00", "updated_at": "2025-05-21T22:52:36.269271-07:00", "permission_type": "workspace", "name": "Viral cut", "script": "Imagine a day where every task feels effortless. Your home adjusts to your needs before you even ask. That's the promise of our smart home devices. Upgrade your living with the latest in technology, where convenience meets innovation. Discover gadgets that don't just simplify, but transform your daily routines. From sunrise to sunset, let your home do the work. It's not just smart, it's future ready. Explore our collection today and step into the home of tomorrow.", "aspect_ratio": "16x9", "is_talking_video": true, "is_one_person_in_video": true, "editing_style": "film", "duration": 25.92, "audio_url": "https://d35ghwdno3nak3.cloudfront.net/ai_viral_cut/audio_files/a62c947c_output.wav", "video_url": "https://d35ghwdno3nak3.cloudfront.net/ai_viral_cut/temp_videos/37a4d253.mp4", "size": 0.0, "created_from_api": true, "caption_setting": null, "background_music_url": null, "background_music_volume": null, "voiceover_volume": null, "webhook_url": null, "user": 18165, "workspace": "a1240918-1f02-47f1-bebe-832a555507f3" } ``` > ⏳ Once `status` is `done`, retrieve your final edited video from the `video_output` field. *** ## 🎯 Summary | Step | Endpoint | | - | - | | Create Task | `POST /api/ai_editing/` | | Check Status | `GET /api/ai_editing/{id}/` | | API Reference | [AI Editing Reference](/api-reference/ai-editing/post-ai-editing) | *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # Asset Generator API: AI Image and Video Models Source: https://docs.creatify.ai/api-documentation/ai-generation/ai-generation Unified endpoints for AI assets generation (image, video) with discoverable input schemas. ## 🚀 Introduction The **Asset Generator API** provides a single interface to run **image / video** generations.\ First list available models and their **input parameter schemas**, then create a generation and **poll or receive a webhook** when it’s ready. > [!NOTE] > > Check live processing times for each model on the [Model Status page](https://app.creatify.ai/ai-models/status). *** ## ✅ Prerequisites * A Creatify account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 0) Supported Models & Pricing Browse every model, its price and its inputs in [Models and pricing](/api-documentation/ai-generation/models). Each model has its own page with a price table, a ready-to-run request and its full input schema. ## 1) Discover Models & Input Schemas Use this endpoint to list available models and the **JSON schema** for their `input_params`.\ Filter by `model_name` using a comma-separated list. **Endpoint:** [GET /api/asset\_generator/schemas/](/api-reference/ai-generation/get-ai-generation-schema) **Query params:** `model_name` (optional, comma-separated) ```bash Example Request theme={null} curl --request GET \ --url "https://api.creatify.ai/api/asset_generator/schemas/" \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response [expandable] theme={null} [ { "model_name": "kling-video/v3/standard/image-to-video", "generation_type": "image_to_video", "input_params_schema": { "$schema": "http://json-schema.org/draft-07/schema#", "required": [ "prompt", "image_url" ], "properties": { "prompt": { "type": "string", "title": "Prompt", "maxLength": 2500, "description": "Use @Image1 to reference the start frame, @Image2 to reference the end frame." }, "duration": { "enum": [ "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "type": "string", "title": "Duration", "default": "5", "description": "Video duration in seconds." }, "elements": { "type": "array", "title": "Elements", "description": "Elements (characters/objects) to include in the video. Each example can either be an image set (frontal + reference images) or a video. Reference in prompt as @Element1, @Element2, etc.", "x-mention-prefix": "element", "maxItems": 3, "min_height": 300, "min_width": 300, "max_file_size": 10485760, "min_aspect_ratio": 0.4, "max_aspect_ratio": 2.5 }, "cfg_scale": { "type": "number", "title": "Cfg Scale", "default": 0.5, "maximum": 1, "minimum": 0, "multipleOf": 0.1, "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want,the model to stick to your prompt.", "x-advance-settings": true }, "image_url": { "type": "string", "title": "Image Url", "timeout": 20, "min_width": 300, "x-ui-name": "start_image", "min_height": 300, "description": "Image to use as the first frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", "max_file_size": 10485760, "max_aspect_ratio": 2.5, "min_aspect_ratio": 0.4 }, "end_image_url": { "type": "string", "title": "End Image Url", "timeout": 20, "min_width": 300, "x-ui-name": "end_image", "min_height": 300, "description": "Image to use as the last frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", "max_file_size": 10485760, "max_aspect_ratio": 2.5, "min_aspect_ratio": 0.4 }, "generate_audio": { "type": "boolean", "title": "Generate Audio", "default": true, "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", "x-advance-settings": true }, "negative_prompt": { "type": "string", "title": "Negative Prompt", "default": "blur, distort, and low quality", "maxLength": 2500, "x-advance-settings": true } } } } ] ``` > **Notes** > > * `input_params_schema` is a JSON Schema containing \$schema, required, and properties; fields listed in required must be present, and all other entries in properties are optional when creating Asset Generator task. *** ## 2) Create a Generation Task Send `model_name`, `input_params` (must satisfy the schema from step 1), and optional `webhook_url`. **Endpoint:** [POST /api/asset\_generator/](/api-reference/ai-generation/post-ai-generation) **Body:** * `model_name` (string, required) * `input_params` (json, required; must match schema) * `webhook_url` (string URL, optional) ```bash Example Request (Kling 3.0 image-to-video) theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v3/standard/image-to-video", "webhook_url": "https://webhook.site/8de4fa26-a1aa-4e83-8795-ede39bb99d78", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "duration": "5", "generate_audio": true } }' ``` ```json Example Response theme={null} { "id": "1ea584a7-4930-4892-90a0-d7c74c6623dd", "model_name": "kling-video/v3/standard/image-to-video", "gen_type": "video", "status": "initializing", "failed_reason": "", "assets": [], "aspect_ratio": "16:9", "output_nums": 1, "duration": 5, "resolution": null, "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "duration": "5", "generate_audio": true }, "webhook_url": "https://webhook.site/8de4fa26-a1aa-4e83-8795-ede39bb99d78", "created_at": "2025-11-04T20:20:36.051480-08:00", "updated_at": "2025-11-04T20:20:36.051513-08:00" } ``` *** ## 3) Check Status (Poll) or Receive Webhook You can **poll** the job until it’s `done`, or provide a **webhook** to be notified automatically. You can get the generated result from the `assets` field. **Endpoint:** [`GET /api/asset_generator/{id}/`](/api-reference/ai-generation/get-ai-generation-) ### Poll ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/asset_generator/1ea584a7-4930-4892-90a0-d7c74c6623dd/ \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response theme={null} { "id": "1ea584a7-4930-4892-90a0-d7c74c6623dd", "model_name": "kling-video/v3/standard/image-to-video", "gen_type": "video", "status": "done", "failed_reason": "", "assets": [ { "id": "4238460a-bee5-4747-8be0-f267783f21fd", "type": "video", "url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "thumbnail_url": "https://d35ghwdno3nak3.cloudfront.net/creative_assets/4238460a-bee5-4747-8be0-f267783f21fd/thumbnail.jpg", "name": "Video-714bec31" } ], "aspect_ratio": "16:9", "output_nums": 1, "duration": 5, "resolution": null, "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "duration": "5", "generate_audio": true }, "webhook_url": "https://webhook.site/8de4fa26-a1aa-4e83-8795-ede39bb99d78", "created_at": "2025-11-04T20:20:36.051480-08:00", "updated_at": "2025-11-04T20:20:36.051513-08:00" } ``` ### Webhook (Optional) If you supplied a `webhook_url` when creating the job, we’ll POST a payload when it finishes. You can get the generated result from the `assets` field. ```json theme={null} { "id": "1ea584a7-4930-4892-90a0-d7c74c6623dd", "status": "done", "failed_reason": "", "assets": [ { "id": "4238460a-bee5-4747-8be0-f267783f21fd", "type": "video", "url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "thumbnail_url": "https://d35ghwdno3nak3.cloudfront.net/creative_assets/4238460a-bee5-4747-8be0-f267783f21fd/thumbnail.jpg", "name": "Video-714bec31" } ] } ``` > You can verify the job any time with a GET to `/api/asset_generator/{id}/`. *** ## 💳 Billing and Retention A task is charged when it is created. Each model's price is on its page in [Models and pricing](/api-documentation/ai-generation/models), and a task's `credits_used` field shows what it charged. ### Failed and rejected tasks If generation fails, or content moderation rejects the request, the task ends with `status: "failed"` and `failed_reason` explains why. Its credits are refunded automatically. If your balance is too low, the create request is refused with `Not enough credits` and nothing is charged. ### Output retention Generated files stay available for at least 7 days after the task finishes. Download any file you want to keep to your own storage. *** ## 📚 Endpoint Reference | Action | Endpoint | | - | - | | List models & input schemas | `GET /api/asset_generator/schemas/` | | Create a generation task | `POST /api/asset_generator/` | | Check task status / get result | `GET /api/asset_generator/{id}/` | *** ## 🎯 Summary | Step | What you do | | - | - | | 1 | List **models** and get their **input schema** | | 2 | Create a **generation** with `model_name` + `input_params` (+ optional `webhook_url`) | | 3 | **Poll** `/api/asset_generator/{id}/` or receive a **webhook** with the final result | # AI Image, Video and Audio Model API Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models Every model the Asset Generator API can run, and what it costs in credits. The Asset Generator runs 116 models from 19 families through one endpoint, [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation). Pick a model, send its `model_name` and `input_params`, and the task is charged in credits. Prices are **per output**: a request for several outputs is charged the per-output price times the number of outputs. Where a price depends on duration, resolution or quality, the table shows the lowest price; each model page has the full table. A finished task reports what it charged in `credits_used`. ## Model families > [card] [Creatify](/api-documentation/ai-generation/models/creatify) > > 3 models · from **0.5** credits > [card] [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) > > 8 models · from **1.0** credits > [card] [Seedance](/api-documentation/ai-generation/models/seedance) > > 14 models · from **0.5** credits > [card] [Nano Banana](/api-documentation/ai-generation/models/nano-banana) > > 10 models · from **0.5** credits > [card] [GPT](/api-documentation/ai-generation/models/gpt) > > 8 models · from **0.5** credits > [card] [Grok Image](/api-documentation/ai-generation/models/grok-image) > > 4 models · from **0.5** credits > [card] [Flux](/api-documentation/ai-generation/models/flux) > > 5 models · from **0.5** credits > [card] [Seedream](/api-documentation/ai-generation/models/seedream) > > 3 models · from **0.5** credits > [card] [Recraft](/api-documentation/ai-generation/models/recraft) > > 2 models · from **0.5** credits > [card] [Kling](/api-documentation/ai-generation/models/kling) > > 25 models · from **2.5** credits > [card] [MiniMax](/api-documentation/ai-generation/models/minimax) > > 5 models · from **2.5** credits > [card] [Veo](/api-documentation/ai-generation/models/veo) > > 12 models · from **2.0** credits > [card] [Wan](/api-documentation/ai-generation/models/wan) > > 6 models · from **0.5** credits > [card] [Grok Video](/api-documentation/ai-generation/models/grok-video) > > 3 models · from **1.0** credits > [card] [Pixverse](/api-documentation/ai-generation/models/pixverse) > > 2 models · from **1.5** credits > [card] [Lyria](/api-documentation/ai-generation/models/lyria) > > 1 model · from **0.80** credits > [card] [Quick Editing](/api-documentation/ai-generation/models/quick-editing) > > 1 model · from **1.0** credits > [card] [MiniMax Music](/api-documentation/ai-generation/models/minimax-music) > > 2 models · from **3.0** credits > [card] [Other](/api-documentation/ai-generation/models/other) > > 2 models · from **4.0** credits ## All models | Family | Model | Model name | Generation type | Price | | - | - | - | - | - | | [Creatify](/api-documentation/ai-generation/models/creatify) | [Boreal-H3 · Text to video](/api-documentation/ai-generation/models/creatify/boreal-h3-text-to-video) | `boreal-h3/text-to-video` | `text_to_video` | From **0.5** credits | | [Creatify](/api-documentation/ai-generation/models/creatify) | [Boreal-H3 · Image to video](/api-documentation/ai-generation/models/creatify/boreal-h3-image-to-video) | `boreal-h3/image-to-video` | `image_to_video` | From **0.5** credits | | [Creatify](/api-documentation/ai-generation/models/creatify) | [Boreal-H3 Reference · Video to video](/api-documentation/ai-generation/models/creatify/boreal-h3-reference-to-video) | `boreal-h3/reference-to-video` | `video_to_video` | From **0.5** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash 1.1 · Text to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1) | `gemini-omni-flash-1.1` | `text_to_video` | From **1.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash · Text to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash) | `gemini-omni-flash` | `text_to_video` | From **4.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash 1.1 · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-image-to-video) | `gemini-omni-flash-1.1/image-to-video` | `image_to_video` | From **1.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-image-to-video) | `gemini-omni-flash/image-to-video` | `image_to_video` | From **4.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash (Reference to Video) · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-reference-to-video) | `gemini-omni-flash/reference-to-video` | `image_to_video` | From **4.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash 1.1 (Edit) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-edit) | `gemini-omni-flash-1.1/edit` | `video_to_video` | From **3.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash 1.1 (Reference to Video) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-reference-to-video) | `gemini-omni-flash-1.1/reference-to-video` | `video_to_video` | From **1.0** credits | | [Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) | [Gemini Omni Flash (Edit) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-edit) | `gemini-omni-flash/edit` | `video_to_video` | **10.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.5 · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-text-to-video) | `bytedance/seedance-2.5/text-to-video` | `text_to_video` | From **4.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Mini · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-text-to-video) | `bytedance/seedance-2.0/mini/text-to-video` | `text_to_video` | From **1.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Fast · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-text-to-video) | `bytedance/seedance-2.0/fast/text-to-video` | `text_to_video` | From **2.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-text-to-video) | `bytedance/seedance-2.0/text-to-video` | `text_to_video` | From **2.75** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 1.5 Pro · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-text-to-video) | `bytedance/seedance/v1.5/pro/text-to-video` | `text_to_video` | From **0.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.5 · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-image-to-video) | `bytedance/seedance-2.5/image-to-video` | `image_to_video` | From **4.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Mini · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-image-to-video) | `bytedance/seedance-2.0/mini/image-to-video` | `image_to_video` | From **1.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Fast · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-image-to-video) | `bytedance/seedance-2.0/fast/image-to-video` | `image_to_video` | From **2.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-image-to-video) | `bytedance/seedance-2.0/image-to-video` | `image_to_video` | From **2.75** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 1.5 Pro · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-image-to-video) | `bytedance/seedance/v1.5/pro/image-to-video` | `image_to_video` | From **0.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.5 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-reference-to-video) | `bytedance/seedance-2.5/reference-to-video` | `video_to_video` | From **4.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Mini (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-reference-to-video) | `bytedance/seedance-2.0/mini/reference-to-video` | `video_to_video` | From **1.5** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 Fast (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-reference-to-video) | `bytedance/seedance-2.0/fast/reference-to-video` | `video_to_video` | From **2.25** credits | | [Seedance](/api-documentation/ai-generation/models/seedance) | [Seedance 2.0 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-reference-to-video) | `bytedance/seedance-2.0/reference-to-video` | `video_to_video` | From **2.75** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2.1 · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1) | `nano-banana-2.1` | `text_to_image` | From **1.0** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2 Lite · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite) | `nano-banana-2-lite` | `text_to_image` | **0.5** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2 · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2) | `nano-banana-2` | `text_to_image` | From **1.0** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana Pro · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-pro) | `nano-banana-pro` | `text_to_image` | From **1.5** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana) | `nano-banana` | `text_to_image` | **0.5** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2.1 · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1-edit) | `nano-banana-2.1/edit` | `image_to_image` | From **1.0** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2 Lite · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite-edit) | `nano-banana-2-lite/edit` | `image_to_image` | **0.5** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana 2 · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-edit) | `nano-banana-2/edit` | `image_to_image` | From **1.0** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana Pro · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-pro-edit) | `nano-banana-pro/edit` | `image_to_image` | From **1.5** credits | | [Nano Banana](/api-documentation/ai-generation/models/nano-banana) | [Nano Banana · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-edit) | `nano-banana/edit` | `image_to_image` | **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-1.5 · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-1-5) | `gpt-image-1.5` | `text_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2 · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2) | `gpt-image-2` | `text_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2.5 Flare · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare) | `gpt-image-2.5-flare` | `text_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2.5 Sunburst · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst) | `gpt-image-2.5-sunburst` | `text_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-1.5 · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-1-5-edit) | `gpt-image-1.5/edit` | `image_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2.5 Flare · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare-edit) | `gpt-image-2.5-flare/edit` | `image_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2.5 Sunburst · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst-edit) | `gpt-image-2.5-sunburst/edit` | `image_to_image` | From **0.5** credits | | [GPT](/api-documentation/ai-generation/models/gpt) | [GPT-image-2 · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-edit) | `gpt-image-2/edit` | `image_to_image` | From **0.5** credits | | [Grok Image](/api-documentation/ai-generation/models/grok-image) | [Grok Image 2 · Text to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0) | `grok-imagine-image/v2.0` | `text_to_image` | From **0.5** credits | | [Grok Image](/api-documentation/ai-generation/models/grok-image) | [Grok Image · Text to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image) | `grok-imagine-image` | `text_to_image` | **0.5** credits | | [Grok Image](/api-documentation/ai-generation/models/grok-image) | [Grok Image 2 · Image to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0-edit) | `grok-imagine-image/v2.0/edit` | `image_to_image` | From **0.5** credits | | [Grok Image](/api-documentation/ai-generation/models/grok-image) | [Grok Image · Image to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-edit) | `grok-imagine-image/edit` | `image_to_image` | **0.5** credits | | [Flux](/api-documentation/ai-generation/models/flux) | [Flux 2 pro · Text to image](/api-documentation/ai-generation/models/flux/flux-2-pro) | `flux-2-pro` | `text_to_image` | **0.5** credits | | [Flux](/api-documentation/ai-generation/models/flux) | [Flux 1 Kontext · Text to image](/api-documentation/ai-generation/models/flux/flux-pro-kontext-text-to-image) | `flux-pro/kontext/text-to-image` | `text_to_image` | **0.5** credits | | [Flux](/api-documentation/ai-generation/models/flux) | [Flux1.1 \[pro\] ultra · Text to image](/api-documentation/ai-generation/models/flux/flux-pro-v1-1-ultra) | `flux-pro/v1.1-ultra` | `text_to_image` | **1.0** credits | | [Flux](/api-documentation/ai-generation/models/flux) | [Flux 2 pro · Image to image](/api-documentation/ai-generation/models/flux/flux-2-pro-edit) | `flux-2-pro/edit` | `image_to_image` | **0.5** credits | | [Flux](/api-documentation/ai-generation/models/flux) | [Flux 1 Kontext · Image to image](/api-documentation/ai-generation/models/flux/flux-pro-kontext-max-multi) | `flux-pro/kontext/max/multi` | `image_to_image` | **1.0** credits | | [Seedream](/api-documentation/ai-generation/models/seedream) | [Seedream 5.0 Pro · Text to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-text-to-image) | `bytedance/seedream/v5/pro/text-to-image` | `text_to_image` | From **0.5** credits | | [Seedream](/api-documentation/ai-generation/models/seedream) | [Seedream 5.0 Pro · Image to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-edit) | `bytedance/seedream/v5/pro/edit` | `image_to_image` | From **0.5** credits | | [Seedream](/api-documentation/ai-generation/models/seedream) | [Seedream 4.0 · Image to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v4-edit) | `bytedance/seedream/v4/edit` | `image_to_image` | **0.5** credits | | [Recraft](/api-documentation/ai-generation/models/recraft) | [Recraft v3 · Text to image](/api-documentation/ai-generation/models/recraft/recraft-v3-text-to-image) | `recraft/v3/text-to-image` | `text_to_image` | **0.5** credits | | [Recraft](/api-documentation/ai-generation/models/recraft) | [Recraft v3 · Image to image](/api-documentation/ai-generation/models/recraft/recraft-v3-image-to-image) | `recraft/v3/image-to-image` | `image_to_image` | **0.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 4.0 · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v4-text-to-video) | `kling-video/v4/text-to-video` | `text_to_video` | From **2.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-text-to-video) | `kling-video/o3/pro/text-to-video` | `text_to_video` | From **4.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Standard · Text to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-text-to-video) | `kling-video/o3/standard/text-to-video` | `text_to_video` | From **3.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 3.0 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v3-pro-text-to-video) | `kling-video/v3/pro/text-to-video` | `text_to_video` | From **5.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 3.0 Standard · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v3-standard-text-to-video) | `kling-video/v3/standard/text-to-video` | `text_to_video` | From **4.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 2.6 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-text-to-video) | `kling-video/v2.6/pro/text-to-video` | `text_to_video` | From **7.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling Turbo 2.5 · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-text-to-video) | `kling-video/v2.5-turbo/pro/text-to-video` | `text_to_video` | From **3.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 2.1 master · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-text-to-video) | `kling-video/v2.1/master/text-to-video` | `text_to_video` | From **14.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 4.0 · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v4-image-to-video) | `kling-video/v4/image-to-video` | `image_to_video` | From **2.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 4.0 (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v4-reference-to-video) | `kling-video/v4/reference-to-video` | `image_to_video` | From **2.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-image-to-video) | `kling-video/o3/pro/image-to-video` | `image_to_video` | From **4.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Pro (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-reference-to-video) | `kling-video/o3/pro/reference-to-video` | `image_to_video` | From **4.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Standard · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-image-to-video) | `kling-video/o3/standard/image-to-video` | `image_to_video` | From **3.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Standard (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-reference-to-video) | `kling-video/o3/standard/reference-to-video` | `image_to_video` | From **3.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 3.0 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v3-pro-image-to-video) | `kling-video/v3/pro/image-to-video` | `image_to_video` | From **5.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 3.0 Standard · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v3-standard-image-to-video) | `kling-video/v3/standard/image-to-video` | `image_to_video` | From **4.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 2.6 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-image-to-video) | `kling-video/v2.6/pro/image-to-video` | `image_to_video` | From **7.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling Turbo 2.5 · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-image-to-video) | `kling-video/v2.5-turbo/pro/image-to-video` | `image_to_video` | From **3.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 2.1 master · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-image-to-video) | `kling-video/v2.1/master/image-to-video` | `image_to_video` | From **14.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 2.1 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-pro-image-to-video) | `kling-video/v2.1/pro/image-to-video` | `image_to_video` | From **5.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling 4.0 (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-v4-video-to-video-edit) | `kling-video/v4/video-to-video/edit` | `video_to_video` | From **2.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Pro (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-edit) | `kling-video/o3/pro/video-to-video/edit` | `video_to_video` | **10.0** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Pro (reference-to-video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-reference) | `kling-video/o3/pro/video-to-video/reference` | `video_to_video` | From **5.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Standard (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-edit) | `kling-video/o3/standard/video-to-video/edit` | `video_to_video` | **7.5** credits | | [Kling](/api-documentation/ai-generation/models/kling) | [Kling O3 Standard (reference-to-video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-reference) | `kling-video/o3/standard/video-to-video/reference` | `video_to_video` | From **4.0** credits | | [MiniMax](/api-documentation/ai-generation/models/minimax) | [Minimax H3 Max · Text to video](/api-documentation/ai-generation/models/minimax/minimax-h3-max-text-to-video) | `minimax/h3-max/text-to-video` | `text_to_video` | From **2.5** credits | | [MiniMax](/api-documentation/ai-generation/models/minimax) | [Minimax H3 · Text to video](/api-documentation/ai-generation/models/minimax/minimax-h3-text-to-video) | `minimax/h3/text-to-video` | `text_to_video` | From **3.5** credits | | [MiniMax](/api-documentation/ai-generation/models/minimax) | [Minimax H3 Max · Image to video](/api-documentation/ai-generation/models/minimax/minimax-h3-max-image-to-video) | `minimax/h3-max/image-to-video` | `image_to_video` | From **2.5** credits | | [MiniMax](/api-documentation/ai-generation/models/minimax) | [Minimax H3 · Image to video](/api-documentation/ai-generation/models/minimax/minimax-h3-image-to-video) | `minimax/h3/image-to-video` | `image_to_video` | From **3.5** credits | | [MiniMax](/api-documentation/ai-generation/models/minimax) | [Minimax H3 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/minimax/minimax-h3-reference-to-video) | `minimax/h3/reference-to-video` | `video_to_video` | From **3.5** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 · Text to video](/api-documentation/ai-generation/models/veo/veo3-1) | `veo3.1` | `text_to_video` | From **16.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Lite · Text to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-text-to-video) | `veo3.1-lite/text-to-video` | `text_to_video` | From **2.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Fast · Text to video](/api-documentation/ai-generation/models/veo/veo3-1-fast) | `veo3.1/fast` | `text_to_video` | From **6.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Lite (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-first-last-frame-to-video) | `veo3.1-lite/first-last-frame-to-video` | `image_to_video` | From **2.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Lite · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-image-to-video) | `veo3.1-lite/image-to-video` | `image_to_video` | From **2.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Fast (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-fast-first-last-frame-to-video) | `veo3.1/fast/first-last-frame-to-video` | `image_to_video` | From **6.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Fast · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-fast-image-to-video) | `veo3.1/fast/image-to-video` | `image_to_video` | From **6.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-first-last-frame-to-video) | `veo3.1/first-last-frame-to-video` | `image_to_video` | From **16.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-image-to-video) | `veo3.1/image-to-video` | `image_to_video` | From **16.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 (Reference to Video) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-reference-to-video) | `veo3.1/reference-to-video` | `image_to_video` | **32.0** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 Lite (Extend Video) · Video to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-extend-video) | `veo3.1-lite/extend-video` | `video_to_video` | From **3.5** credits | | [Veo](/api-documentation/ai-generation/models/veo) | [Veo 3.1 (Extend Video) · Video to video](/api-documentation/ai-generation/models/veo/veo3-1-extend-video) | `veo3.1/extend-video` | `video_to_video` | **28.0** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 3.0 Prime (reference-to-video) · Video to video](/api-documentation/ai-generation/models/wan/wan3-0-prime-reference-to-video) | `wan3.0-prime/reference-to-video` | `video_to_video` | From **1.5** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 3.0 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/wan/wan3-0-reference-to-video) | `wan3.0/reference-to-video` | `video_to_video` | From **1.5** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 2.7 Pro · Text to image](/api-documentation/ai-generation/models/wan/wan2-7-image-pro-text-to-image) | `wan2.7-image/pro/text-to-image` | `text_to_image` | **1.0** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 2.7 · Text to image](/api-documentation/ai-generation/models/wan/wan2-7-image-text-to-image) | `wan2.7-image/text-to-image` | `text_to_image` | **0.5** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 2.7 · Image to image](/api-documentation/ai-generation/models/wan/wan2-7-image-image-to-image) | `wan2.7-image/image-to-image` | `image_to_image` | **0.5** credits | | [Wan](/api-documentation/ai-generation/models/wan) | [Wan 2.7 Pro · Image to image](/api-documentation/ai-generation/models/wan/wan2-7-image-pro-image-to-image) | `wan2.7-image/pro/image-to-image` | `image_to_image` | **1.0** credits | | [Grok Video](/api-documentation/ai-generation/models/grok-video) | [Grok Video · Text to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-text-to-video) | `grok-imagine-video/text-to-video` | `text_to_video` | From **1.0** credits | | [Grok Video](/api-documentation/ai-generation/models/grok-video) | [Grok Video (Reference to Video) · Image to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-reference-to-video) | `grok-imagine-video/reference-to-video` | `image_to_video` | From **1.0** credits | | [Grok Video](/api-documentation/ai-generation/models/grok-video) | [Grok Video · Image to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-image-to-video) | `grok-imagine-video/image-to-video` | `image_to_video` | From **1.0** credits | | [Pixverse](/api-documentation/ai-generation/models/pixverse) | [Pixverse V5 · Text to video](/api-documentation/ai-generation/models/pixverse/pixverse-v5-text-to-video) | `pixverse/v5/text-to-video` | `text_to_video` | From **1.5** credits | | [Pixverse](/api-documentation/ai-generation/models/pixverse) | [Pixverse V5 · Image to video](/api-documentation/ai-generation/models/pixverse/pixverse-v5-image-to-video) | `pixverse/v5/image-to-video` | `image_to_video` | From **1.5** credits | | [Lyria](/api-documentation/ai-generation/models/lyria) | [Lyria 3 Pro · Text to music](/api-documentation/ai-generation/models/lyria/lyria-3-pro-text-to-music) | `lyria-3-pro/text-to-music` | `text_to_music` | **0.80** credits | | [Quick Editing](/api-documentation/ai-generation/models/quick-editing) | [Upscale image · Image to image](/api-documentation/ai-generation/models/quick-editing/flux-vision-upscaler) | `flux-vision-upscaler` | `image_to_image` | **1.0** credits | | [MiniMax Music](/api-documentation/ai-generation/models/minimax-music) | [MiniMax Music 3.0 · Text to music](/api-documentation/ai-generation/models/minimax-music/minimax-music-3-0-text-to-music) | `minimax-music-3.0/text-to-music` | `text_to_music` | **3.0** credits | | [MiniMax Music](/api-documentation/ai-generation/models/minimax-music) | [MiniMax Music 2.6 · Text to music](/api-documentation/ai-generation/models/minimax-music/minimax-music-2-6-text-to-music) | `minimax-music-2.6/text-to-music` | `text_to_music` | **3.0** credits | | [Other](/api-documentation/ai-generation/models/other) | [LTX v2 · Text to video](/api-documentation/ai-generation/models/other/ltxv-2-text-to-video) | `ltxv-2/text-to-video` | `text_to_video` | From **4.0** credits | | [Other](/api-documentation/ai-generation/models/other) | [LTX v2 · Image to video](/api-documentation/ai-generation/models/other/ltxv-2-image-to-video) | `ltxv-2/image-to-video` | `image_to_video` | From **4.0** credits | # Creatify API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/creatify Creatify on the Creatify API: 3 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 3 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Boreal-H3 · Text to video](/api-documentation/ai-generation/models/creatify/boreal-h3-text-to-video) | `boreal-h3/text-to-video` | `text_to_video` | From **0.5** credits | | [Boreal-H3 · Image to video](/api-documentation/ai-generation/models/creatify/boreal-h3-image-to-video) | `boreal-h3/image-to-video` | `image_to_video` | From **0.5** credits | | [Boreal-H3 Reference · Video to video](/api-documentation/ai-generation/models/creatify/boreal-h3-reference-to-video) | `boreal-h3/reference-to-video` | `video_to_video` | From **0.5** credits | # Boreal-H3 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/creatify/boreal-h3-image-to-video Creatify's model built for ads: keeps your product's label text, shape and details accurate from one reference image, and delivers UGC talking heads and two-person dialogue. Faster and cheaper than most video models. [← Creatify](/api-documentation/ai-generation/models/creatify) **Model name:** `boreal-h3/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 1088P | 2K | | - | - | - | - | | 1s | **0.5** | **0.5** | **1.0** | | 2s | **0.5** | **1.0** | **1.5** | | 3s | **0.5** | **1.0** | **2.0** | | 4s | **1.0** | **1.5** | **2.5** | | 5s | **1.0** | **1.5** | **3.0** | | 6s | **1.0** | **2.0** | **3.5** | | 7s | **1.0** | **2.0** | **4.0** | | 8s | **1.5** | **2.5** | **4.5** | | 9s | **1.5** | **2.5** | **5.0** | | 10s | **1.5** | **3.0** | **5.5** | | 11s | **1.5** | **3.0** | **6.0** | | 12s | **2.0** | **3.5** | **6.5** | | 13s | **2.0** | **4.0** | **7.0** | | 14s | **2.0** | **4.0** | **7.5** | | 15s | **2.0** | **4.5** | **8.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "boreal-h3/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "boreal-h3/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **image\_url** `string` *required* URL of the image to use as the first frame. The output aspect ratio follows this image. **end\_image\_url** `string` Optional URL of the image to use as the last frame (first-to-last keyframe). **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **resolution** `string` (default: 768P) 768P, 1088P or 2K resolution. Allowed values: `"768P"`, `"1088P"`, `"2K"`. **enhance\_prompt** `boolean` (default: true) Rewrite the prompt with Creatify's ads prompt skill (human subject) before the render. Off sends the prompt exactly as written. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "URL of the image to use as the first frame. The output aspect ratio follows this image." > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "Optional URL of the image to use as the last frame (first-to-last keyframe)." > }, > "duration": { > "enum": [ > 1, > 2, > 3, > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "resolution": { > "enum": [ > "768P", > "1088P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "768P", > "description": "768P, 1088P or 2K resolution.", > "x-advance-settings": true > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": true, > "description": "Rewrite the prompt with Creatify's ads prompt skill (human subject) before the render. Off sends the prompt exactly as written.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Boreal-H3 Reference Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/creatify/boreal-h3-reference-to-video Creatify's model built for ads: keeps your product's label text, shape and details accurate from one reference image, and delivers UGC talking heads and two-person dialogue. Faster and cheaper than most video models. [← Creatify](/api-documentation/ai-generation/models/creatify) **Model name:** `boreal-h3/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 1088P | 2K | | - | - | - | - | | 1s | **0.5** | **0.5** | **1.0** | | 2s | **0.5** | **1.0** | **1.5** | | 3s | **0.5** | **1.0** | **2.0** | | 4s | **1.0** | **1.5** | **2.5** | | 5s | **1.0** | **1.5** | **3.0** | | 6s | **1.0** | **2.0** | **3.5** | | 7s | **1.0** | **2.0** | **4.0** | | 8s | **1.5** | **2.5** | **4.5** | | 9s | **1.5** | **2.5** | **5.0** | | 10s | **1.5** | **3.0** | **5.5** | | 11s | **1.5** | **3.0** | **6.0** | | 12s | **2.0** | **3.5** | **6.5** | | 13s | **2.0** | **4.0** | **7.0** | | 14s | **2.0** | **4.0** | **7.5** | | 15s | **2.0** | **4.5** | **8.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds) and each reference image beyond the included ones. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "boreal-h3/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "reference_video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "reference_audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "boreal-h3/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "reference_video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "reference_audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1, etc. Minimum characters: `1`. Maximum characters: `7000`. **reference\_image\_urls** `string[]` Up to 9 reference images. First 5 free, each additional image billed separately. Maximum items: `9`. **reference\_video\_urls** `string[]` Up to 3 reference video clips (2-15s each, combined ≤15s). Billed per second. Maximum items: `3`. **reference\_audio\_urls** `string[]` Up to 3 reference audio clips (free). Requires at least one image or video reference. Maximum items: `3`. **enhance\_prompt** `boolean` (default: true) Rewrite the prompt with Creatify's ads prompt skill (human subject) before the render. Off sends the prompt exactly as written. **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **aspect\_ratio** `string` (default: adaptive) The aspect ratio of the generated video. Use 'adaptive' to match reference media. Allowed values: `"adaptive"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **resolution** `string` (default: 768P) 768P, 1088P or 2K resolution. Allowed values: `"768P"`, `"1088P"`, `"2K"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "x-support-types": [ > "mentions" > ], > "description": "Refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1, etc." > }, > "reference_image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Images", > "maxItems": 9, > "x-ui-name": "image_urls", > "x-mention-prefix": "image", > "x-free-image-count": 5, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "Up to 9 reference images. First 5 free, each additional image billed separately." > }, > "reference_video_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Videos", > "maxItems": 3, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "x-ui-name": "video_urls", > "description": "Up to 3 reference video clips (2-15s each, combined ≤15s). Billed per second." > }, > "reference_audio_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Audio", > "maxItems": 3, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "x-ui-name": "audio_urls", > "description": "Up to 3 reference audio clips (free). Requires at least one image or video reference." > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": true, > "description": "Rewrite the prompt with Creatify's ads prompt skill (human subject) before the render. Off sends the prompt exactly as written.", > "x-advance-settings": true > }, > "duration": { > "enum": [ > 1, > 2, > 3, > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "aspect_ratio": { > "enum": [ > "adaptive", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "adaptive", > "description": "The aspect ratio of the generated video. Use 'adaptive' to match reference media." > }, > "resolution": { > "enum": [ > "768P", > "1088P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "768P", > "description": "768P, 1088P or 2K resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Boreal-H3 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/creatify/boreal-h3-text-to-video Creatify's model built for ads: keeps your product's label text, shape and details accurate from one reference image, and delivers UGC talking heads and two-person dialogue. Faster and cheaper than most video models. [← Creatify](/api-documentation/ai-generation/models/creatify) **Model name:** `boreal-h3/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 1088P | 2K | | - | - | - | - | | 1s | **0.5** | **0.5** | **1.0** | | 2s | **0.5** | **1.0** | **1.5** | | 3s | **0.5** | **1.0** | **2.0** | | 4s | **1.0** | **1.5** | **2.5** | | 5s | **1.0** | **1.5** | **3.0** | | 6s | **1.0** | **2.0** | **3.5** | | 7s | **1.0** | **2.0** | **4.0** | | 8s | **1.5** | **2.5** | **4.5** | | 9s | **1.5** | **2.5** | **5.0** | | 10s | **1.5** | **3.0** | **5.5** | | 11s | **1.5** | **3.0** | **6.0** | | 12s | **2.0** | **3.5** | **6.5** | | 13s | **2.0** | **4.0** | **7.0** | | 14s | **2.0** | **4.0** | **7.5** | | 15s | **2.0** | **4.5** | **8.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "boreal-h3/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "boreal-h3/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated video. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"4:5"`, `"3:4"`, `"9:16"`. **resolution** `string` (default: 768P) 768P, 1088P or 2K resolution. Allowed values: `"768P"`, `"1088P"`, `"2K"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "duration": { > "enum": [ > 1, > 2, > 3, > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "1:1", > "4:5", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "768P", > "1088P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "768P", > "description": "768P, 1088P or 2K resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Flux API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux Flux on the Creatify API: 5 models for text to image and image to image, with credit prices, input parameters and request examples. 5 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Flux 2 pro · Text to image](/api-documentation/ai-generation/models/flux/flux-2-pro) | `flux-2-pro` | `text_to_image` | **0.5** credits | | [Flux 1 Kontext · Text to image](/api-documentation/ai-generation/models/flux/flux-pro-kontext-text-to-image) | `flux-pro/kontext/text-to-image` | `text_to_image` | **0.5** credits | | [Flux1.1 \[pro\] ultra · Text to image](/api-documentation/ai-generation/models/flux/flux-pro-v1-1-ultra) | `flux-pro/v1.1-ultra` | `text_to_image` | **1.0** credits | | [Flux 2 pro · Image to image](/api-documentation/ai-generation/models/flux/flux-2-pro-edit) | `flux-2-pro/edit` | `image_to_image` | **0.5** credits | | [Flux 1 Kontext · Image to image](/api-documentation/ai-generation/models/flux/flux-pro-kontext-max-multi) | `flux-pro/kontext/max/multi` | `image_to_image` | **1.0** credits | # Flux 2 pro Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux/flux-2-pro Ideal for high-quality image manipulation, style transfer, and sequential editing workflows [← Flux](/api-documentation/ai-generation/models/flux) **Model name:** `flux-2-pro`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-2-pro", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-2-pro", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Minimum characters: `1`. Maximum characters: `2500`. **seed** `integer` Random seed for reproducibility. If None, a random seed is chosen. **image\_size** `string` (default: portrait\_16\_9) The size of the image to generate. The width and height must be between 512 and 2048 pixels. Allowed values: `"square_hd"`, `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"landscape_4_3"`, `"landscape_16_9"`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `1`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "Random seed for reproducibility. If None, a random seed is chosen.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "minLength": 1 > }, > "image_size": { > "enum": [ > "square_hd", > "square", > "portrait_4_3", > "portrait_16_9", > "landscape_4_3", > "landscape_16_9" > ], > "type": "string", > "title": "Aspect ratio", > "default": "portrait_16_9", > "x-ui-name": "aspect_ratio", > "description": "The size of the image to generate. The width and height must be between 512 and 2048 pixels." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 1, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Flux 2 pro Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux/flux-2-pro-edit Ideal for high-quality image manipulation, style transfer, and sequential editing workflows [← Flux](/api-documentation/ai-generation/models/flux) **Model name:** `flux-2-pro/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-2-pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-2-pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Minimum characters: `1`. Maximum characters: `2500`. **image\_urls** `string[]` *required* List of URLs of input images for editing Minimum items: `1`. Maximum items: `3`. **seed** `integer` Random seed for reproducibility. If None, a random seed is chosen. **image\_size** `string` (default: portrait\_16\_9) The size of the image to generate. The width and height must be between 512 and 2048 pixels. Allowed values: `"square_hd"`, `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"landscape_4_3"`, `"landscape_16_9"`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `1`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "Random seed for reproducibility. If None, a random seed is chosen.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "minLength": 1 > }, > "image_size": { > "enum": [ > "square_hd", > "square", > "portrait_4_3", > "portrait_16_9", > "landscape_4_3", > "landscape_16_9" > ], > "type": "string", > "title": "Aspect ratio", > "default": "portrait_16_9", > "x-ui-name": "aspect_ratio", > "description": "The size of the image to generate. The width and height must be between 512 and 2048 pixels." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 3, > "minItems": 1, > "description": "List of URLs of input images for editing" > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 1, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Flux 1 Kontext Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux/flux-pro-kontext-max-multi Strong character consistency with good understanding of complex prompts and text. [← Flux](/api-documentation/ai-generation/models/flux) **Model name:** `flux-pro/kontext/max/multi`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **1.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-pro/kontext/max/multi", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-pro/kontext/max/multi", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Minimum items: `1`. Maximum items: `4`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **aspect\_ratio** `string` (default: 1:1) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"3:2"`, `"1:1"`, `"2:3"`, `"3:4"`, `"9:16"`, `"9:21"`. **output\_format** `string` (default: jpeg) The format of the generated image. Allowed values: `"jpeg"`, `"png"`. **enhance\_prompt** `boolean` (default: false) Whether to enhance the prompt for better results. **guidance\_scale** `number` (default: 3.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Minimum: `1`. Maximum: `20`. Multiple of: `0.5`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 4, > "minItems": 1, > "description": "List of URLs of input images for editing." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "3:2", > "1:1", > "2:3", > "3:4", > "9:16", > "9:21" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "The format of the generated image." > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": false, > "description": "Whether to enhance the prompt for better results.", > "x-advance-settings": true > }, > "guidance_scale": { > "type": "number", > "title": "Guidance scale (CFG)", > "default": 3.5, > "maximum": 20, > "minimum": 1, > "multipleOf": 0.5, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Flux 1 Kontext Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux/flux-pro-kontext-text-to-image Strong character consistency with good understanding of complex prompts and text. [← Flux](/api-documentation/ai-generation/models/flux) **Model name:** `flux-pro/kontext/text-to-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-pro/kontext/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-pro/kontext/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **aspect\_ratio** `string` (default: 1:1) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"3:2"`, `"1:1"`, `"2:3"`, `"3:4"`, `"9:16"`, `"9:21"`. **output\_format** `string` (default: jpeg) The format of the generated image. Allowed values: `"jpeg"`, `"png"`. **enhance\_prompt** `boolean` (default: false) Whether to enhance the prompt for better results. **guidance\_scale** `number` (default: 3.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Minimum: `1`. Maximum: `20`. Multiple of: `0.5`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "3:2", > "1:1", > "2:3", > "3:4", > "9:16", > "9:21" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "The format of the generated image.", > "x-advance-settings": true > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": false, > "description": "Whether to enhance the prompt for better results.", > "x-advance-settings": true > }, > "guidance_scale": { > "type": "number", > "title": "Guidance scale (CFG)", > "default": 3.5, > "maximum": 20, > "minimum": 1, > "multipleOf": 0.5, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Flux1.1 [pro] ultra Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/flux/flux-pro-v1-1-ultra Delivers ultra-fast, ultra high-resolution image creation. [← Flux](/api-documentation/ai-generation/models/flux) **Model name:** `flux-pro/v1.1-ultra`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **1.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-pro/v1.1-ultra", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-pro/v1.1-ultra", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **aspect\_ratio** `string` (default: 1:1) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"3:2"`, `"1:1"`, `"2:3"`, `"3:4"`, `"9:16"`, `"9:21"`. **output\_format** `string` (default: jpeg) The format of the generated image. Allowed values: `"jpeg"`, `"png"`. **enhance\_prompt** `boolean` (default: false) Whether to enhance the prompt for better results. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "3:2", > "1:1", > "2:3", > "3:4", > "9:16", > "9:21" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "The format of the generated image.", > "x-advance-settings": true > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": false, > "description": "Whether to enhance the prompt for better results.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash Gemini Omni Flash on the Creatify API: 8 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 8 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Gemini Omni Flash 1.1 · Text to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1) | `gemini-omni-flash-1.1` | `text_to_video` | From **1.0** credits | | [Gemini Omni Flash · Text to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash) | `gemini-omni-flash` | `text_to_video` | From **4.0** credits | | [Gemini Omni Flash 1.1 · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-image-to-video) | `gemini-omni-flash-1.1/image-to-video` | `image_to_video` | From **1.0** credits | | [Gemini Omni Flash · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-image-to-video) | `gemini-omni-flash/image-to-video` | `image_to_video` | From **4.0** credits | | [Gemini Omni Flash (Reference to Video) · Image to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-reference-to-video) | `gemini-omni-flash/reference-to-video` | `image_to_video` | From **4.0** credits | | [Gemini Omni Flash 1.1 (Edit) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-edit) | `gemini-omni-flash-1.1/edit` | `video_to_video` | From **3.0** credits | | [Gemini Omni Flash 1.1 (Reference to Video) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-reference-to-video) | `gemini-omni-flash-1.1/reference-to-video` | `video_to_video` | From **1.0** credits | | [Gemini Omni Flash (Edit) · Video to video](/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-edit) | `gemini-omni-flash/edit` | `video_to_video` | **10.5** credits | # Gemini Omni Flash Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash Creates video with synchronized audio from text or a still image, grounded in Gemini's real-world knowledge and physics understanding. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.0** | | 5s | **6.5** | | 6s | **7.5** | | 7s | **9.0** | | 8s | **10.0** | | 9s | **11.5** | | 10s | **12.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate. Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash 1.1 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1 Creates video with synchronized audio from text or a still image, with output resolutions up to 4K, grounded in Gemini's real-world knowledge and physics understanding. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash-1.1`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 360p | 720p | 1080p | 4k | | - | - | - | - | - | | 3s | **1.0** | **3.0** | **4.5** | **9.0** | | 4s | **1.5** | **4.0** | **6.0** | **12.0** | | 5s | **1.5** | **5.0** | **7.5** | **15.0** | | 6s | **2.0** | **6.0** | **9.0** | **18.0** | | 7s | **2.5** | **7.0** | **10.5** | **21.0** | | 8s | **2.5** | **8.0** | **12.0** | **24.0** | | 9s | **3.0** | **9.0** | **13.5** | **27.0** | | 10s | **3.0** | **10.0** | **15.0** | **30.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash-1.1", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash-1.1", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate. Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"360p"`, `"720p"`, `"1080p"`, `"4k"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "360p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash 1.1 (Edit) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-edit Edits a video across conversational turns via natural-language instructions while preserving scene coherence, with output resolutions up to 4K. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash-1.1/edit`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 360p | **3.0** | | 720p | **10.0** | | 1080p | **15.0** | | 4k | **30.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash-1.1/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash-1.1/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* A simple instruction describing the edit. Add "Keep everything else the same." to preserve the rest of the scene. Voice editing is not supported. Minimum characters: `1`. Maximum characters: `2000`. **video\_url** `string` *required* URL of the video to edit. Min duration: 3s. Max file size: 20MB. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"360p"`, `"720p"`, `"1080p"`, `"4k"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "A simple instruction describing the edit. Add \"Keep everything else the same.\" to preserve the rest of the scene. Voice editing is not supported." > }, > "video_url": { > "type": "string", > "title": "Video URL", > "min_duration": 3, > "max_duration": 10, > "max_file_size": 20971520, > "description": "URL of the video to edit. Min duration: 3s. Max file size: 20MB." > }, > "resolution": { > "enum": [ > "360p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash 1.1 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-image-to-video Creates video with synchronized audio from text or a still image, with output resolutions up to 4K, grounded in Gemini's real-world knowledge and physics understanding. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash-1.1/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 360p | 720p | 1080p | 4k | | - | - | - | - | - | | 3s | **1.0** | **3.0** | **4.5** | **9.0** | | 4s | **1.5** | **4.0** | **6.0** | **12.0** | | 5s | **1.5** | **5.0** | **7.5** | **15.0** | | 6s | **2.0** | **6.0** | **9.0** | **18.0** | | 7s | **2.5** | **7.0** | **10.5** | **21.0** | | 8s | **2.5** | **8.0** | **12.0** | **24.0** | | 9s | **3.0** | **9.0** | **13.5** | **27.0** | | 10s | **3.0** | **10.0** | **15.0** | **30.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash-1.1/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash-1.1/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how the image should be animated. Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the input image to animate. Max file size: 10MB. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"360p"`, `"720p"`, `"1080p"`, `"4k"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing how the image should be animated." > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "max_file_size": 10485760, > "description": "URL of the input image to animate. Max file size: 10MB." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "360p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash 1.1 (Reference to Video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-1-1-reference-to-video Generates video with audio from up to 10 reference images and 3 reference videos for consistent subject, motion, style, and sound. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash-1.1/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 360p | 720p | 1080p | 4k | | - | - | - | - | - | | 3s | **1.0** | **3.0** | **4.5** | **9.0** | | 4s | **1.5** | **4.0** | **6.0** | **12.0** | | 5s | **1.5** | **5.0** | **7.5** | **15.0** | | 6s | **2.0** | **6.0** | **9.0** | **18.0** | | 7s | **2.5** | **7.0** | **10.5** | **21.0** | | 8s | **2.5** | **8.0** | **12.0** | **24.0** | | 9s | **3.0** | **9.0** | **13.5** | **27.0** | | 10s | **3.0** | **10.0** | **15.0** | **30.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash-1.1/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash-1.1/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video. Bind reference images or videos to roles inline using tags like \ or \. Minimum characters: `1`. Maximum characters: `2000`. **image\_urls** `string[]` URLs of the reference images to incorporate into the video. Maximum items: `10`. **video\_urls** `string[]` URLs of the reference videos to incorporate into the video. Maximum items: `3`. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"360p"`, `"720p"`, `"1080p"`, `"4k"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video. Bind reference images or videos to roles inline using tags like or ." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 10 images. Max file size: 10MB. Supported formats: JPEG, PNG, WebP." > }, > "title": "Image URLs", > "maxItems": 10, > "max_file_size": 10485760, > "description": "URLs of the reference images to incorporate into the video." > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 3 videos, 3-15s each. Max file size: 20MB. Supported format: MP4." > }, > "title": "Video URLs", > "maxItems": 3, > "min_duration": 3, > "max_duration": 15, > "max_file_size": 20971520, > "description": "URLs of the reference videos to incorporate into the video." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "360p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash (Edit) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-edit Edits a video across conversational turns via natural-language instructions while preserving scene coherence. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash/edit`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **10.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* A simple instruction describing the edit. Add "Keep everything else the same." to preserve the rest of the scene. Voice editing is not supported. Minimum characters: `1`. Maximum characters: `2000`. **video\_url** `string` *required* URL of the video to edit. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "A simple instruction describing the edit. Add \"Keep everything else the same.\" to preserve the rest of the scene. Voice editing is not supported." > }, > "video_url": { > "type": "string", > "title": "Video URL", > "description": "URL of the video to edit." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-image-to-video Creates video with synchronized audio from text or a still image, grounded in Gemini's real-world knowledge and physics understanding. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.5** | | 5s | **6.5** | | 6s | **8.0** | | 7s | **9.5** | | 8s | **10.5** | | 9s | **12.0** | | 10s | **13.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how the image should be animated. Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the input image to animate. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing how the image should be animated." > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "description": "URL of the input image to animate." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Gemini Omni Flash (Reference to Video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gemini-omni-flash/gemini-omni-flash-reference-to-video Generates video with audio from multiple reference images for consistent subject, motion, style, and sound. [← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash) **Model name:** `gemini-omni-flash/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.5** | | 5s | **6.5** | | 6s | **8.0** | | 7s | **9.5** | | 8s | **10.5** | | 9s | **12.0** | | 10s | **13.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gemini-omni-flash/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gemini-omni-flash/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video. You can bind reference images to roles inline using tags like \. Minimum characters: `1`. Maximum characters: `2000`. **image\_urls** `string[]` *required* URLs of the reference images to incorporate into the video. Minimum items: `1`. Maximum items: `3`. **duration** `string` (default: 8) The duration of the generated video, in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video. You can bind reference images to roles inline using tags like ." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 3, > "minItems": 1, > "description": "URLs of the reference images to incorporate into the video." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "The duration of the generated video, in seconds." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt GPT on the Creatify API: 8 models for text to image and image to image, with credit prices, input parameters and request examples. 8 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [GPT-image-1.5 · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-1-5) | `gpt-image-1.5` | `text_to_image` | From **0.5** credits | | [GPT-image-2 · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2) | `gpt-image-2` | `text_to_image` | From **0.5** credits | | [GPT-image-2.5 Flare · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare) | `gpt-image-2.5-flare` | `text_to_image` | From **0.5** credits | | [GPT-image-2.5 Sunburst · Text to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst) | `gpt-image-2.5-sunburst` | `text_to_image` | From **0.5** credits | | [GPT-image-1.5 · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-1-5-edit) | `gpt-image-1.5/edit` | `image_to_image` | From **0.5** credits | | [GPT-image-2.5 Flare · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare-edit) | `gpt-image-2.5-flare/edit` | `image_to_image` | From **0.5** credits | | [GPT-image-2.5 Sunburst · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst-edit) | `gpt-image-2.5-sunburst/edit` | `image_to_image` | From **0.5** credits | | [GPT-image-2 · Image to image](/api-documentation/ai-generation/models/gpt/gpt-image-2-edit) | `gpt-image-2/edit` | `image_to_image` | From **0.5** credits | # GPT-image-1.5 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-1-5 High-fidelity images with strong prompt adherence, preserving composition, lighting, and fine-grained detail. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-1.5`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1024x1024 | 1536x1024 | 1024x1536 | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **1.0** | **1.0** | | high | **1.5** | **2.0** | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-1.5", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-1.5", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **quality** `string` (default: high) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **image\_size** `string` (default: 1024x1024) Aspect ratio for the generated image Allowed values: `"1024x1024"`, `"1536x1024"`, `"1024x1536"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "quality": { > "enum": [ > "low", > "medium", > "high" > ], > "type": "string", > "title": "Quality", > "default": "high", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "image_size": { > "enum": [ > "1024x1024", > "1536x1024", > "1024x1536" > ], > "type": "string", > "title": "Image Size", > "default": "1024x1024", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-1.5 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-1-5-edit High-fidelity images with strong prompt adherence, preserving composition, lighting, and fine-grained detail. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-1.5/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1024x1024 | 1536x1024 | 1024x1536 | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **1.0** | **1.0** | | high | **1.5** | **2.0** | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-1.5/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-1.5/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_urls** `string[]` *required* The URLs of the images to use as a reference for the generation. Minimum items: `1`. Maximum items: `10`. **quality** `string` (default: high) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **image\_size** `string` (default: auto) Aspect ratio for the generated image Allowed values: `"auto"`, `"1024x1024"`, `"1536x1024"`, `"1024x1536"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. **input\_fidelity** `string` (default: high) Input fidelity for the generated image Allowed values: `"low"`, `"high"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "quality": { > "enum": [ > "low", > "medium", > "high" > ], > "type": "string", > "title": "Quality", > "default": "high", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "image_size": { > "enum": [ > "auto", > "1024x1024", > "1536x1024", > "1024x1536" > ], > "type": "string", > "title": "Image Size", > "default": "auto", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "description": "The URLs of the images to use as a reference for the generation.", > "convert_svg": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > }, > "input_fidelity": { > "enum": [ > "low", > "high" > ], > "type": "string", > "title": "Input Fidelity", > "default": "high", > "description": "Input fidelity for the generated image", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2 High-fidelity images with strong prompt adherence, preserving composition, lighting, and fine-grained detail. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **1.0** | | medium | **1.0** | **1.5** | **2.5** | | high | **2.5** | **4.5** | **9.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: medium) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high" > ], > "type": "string", > "title": "Quality", > "default": "medium", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2.5 Flare Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare Fast, high-quality generation with natural lighting, rich textures, and support for complex layouts including transparent backgrounds. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2.5-flare`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **0.5** | **0.5** | | high | **1.0** | **1.0** | **1.5** | | xhigh | **1.0** | **1.0** | **2.0** | | max | **2.5** | **2.5** | **4.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2.5-flare", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2.5-flare", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: max) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high", > "xhigh", > "max" > ], > "type": "string", > "title": "Quality", > "default": "max", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2.5 Flare Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2-5-flare-edit Fast, high-quality generation with natural lighting, rich textures, and support for complex layouts including transparent backgrounds. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2.5-flare/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **0.5** | **0.5** | | high | **1.0** | **1.0** | **1.5** | | xhigh | **1.5** | **1.5** | **2.0** | | max | **2.5** | **2.5** | **4.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2.5-flare/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2.5-flare/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Minimum items: `1`. Maximum items: `10`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: max) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high", > "xhigh", > "max" > ], > "type": "string", > "title": "Quality", > "default": "max", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "x-ui-name": "image_urls", > "description": "List of URLs of input images for editing.", > "convert_svg": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2.5 Sunburst Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst Editing built for the tightest control, edits scoped precisely to the instruction, with subject and composition preserved across many rounds of revision. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2.5-sunburst`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **0.5** | **0.5** | | high | **1.0** | **1.0** | **1.5** | | xhigh | **1.0** | **1.0** | **2.0** | | max | **2.5** | **2.5** | **4.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2.5-sunburst", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2.5-sunburst", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: max) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high", > "xhigh", > "max" > ], > "type": "string", > "title": "Quality", > "default": "max", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2.5 Sunburst Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2-5-sunburst-edit Editing built for the tightest control, edits scoped precisely to the instruction, with subject and composition preserved across many rounds of revision. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2.5-sunburst/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **0.5** | | medium | **0.5** | **0.5** | **0.5** | | high | **1.0** | **1.0** | **1.5** | | xhigh | **1.5** | **1.5** | **2.0** | | max | **2.5** | **2.5** | **4.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2.5-sunburst/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2.5-sunburst/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Minimum items: `1`. Maximum items: `10`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: max) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`. **background** `string` (default: auto) Background for the generated image Allowed values: `"auto"`, `"transparent"`, `"opaque"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high", > "xhigh", > "max" > ], > "type": "string", > "title": "Quality", > "default": "max", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "background": { > "enum": [ > "auto", > "transparent", > "opaque" > ], > "type": "string", > "title": "Background", > "default": "auto", > "description": "Background for the generated image", > "x-advance-settings": true, > "x-conflicts": { > "transparent": [ > { > "output_format": "jpeg" > } > ] > } > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "x-ui-name": "image_urls", > "description": "List of URLs of input images for editing.", > "convert_svg": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true, > "x-conflicts": { > "jpeg": [ > { > "background": "transparent" > } > ] > } > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # GPT-image-2 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/gpt/gpt-image-2-edit High-fidelity images with strong prompt adherence, preserving composition, lighting, and fine-grained detail. [← GPT](/api-documentation/ai-generation/models/gpt) **Model name:** `gpt-image-2/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1K | 2K | 4K | | - | - | - | - | | low | **0.5** | **0.5** | **1.0** | | medium | **1.0** | **1.5** | **2.5** | | high | **2.5** | **4.5** | **9.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "gpt-image-2/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "gpt-image-2/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `2`. Maximum characters: `32000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Minimum items: `1`. Maximum items: `10`. **image\_size** `string` (default: square) Aspect ratio for the generated image Allowed values: `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"portrait_5_4"`, `"portrait_3_2"`, `"landscape_4_3"`, `"landscape_16_9"`, `"landscape_5_4"`, `"landscape_3_2"`. **quality** `string` (default: medium) Quality for the generated image Allowed values: `"low"`, `"medium"`, `"high"`. **resolution** `string` (default: 1K) Output resolution for the generated image Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **output\_format** `string` (default: png) Output format for the images Allowed values: `"jpeg"`, `"png"`. **input\_fidelity** `string` (default: high) Input fidelity for the generated image Allowed values: `"low"`, `"high"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 2, > "maxLength": 32000, > "description": "The prompt for image generation" > }, > "image_size": { > "enum": [ > "square", > "portrait_4_3", > "portrait_16_9", > "portrait_5_4", > "portrait_3_2", > "landscape_4_3", > "landscape_16_9", > "landscape_5_4", > "landscape_3_2" > ], > "type": "string", > "title": "Image Size", > "default": "square", > "x-ui-name": "aspect_ratio", > "description": "Aspect ratio for the generated image" > }, > "quality": { > "enum": [ > "low", > "medium", > "high" > ], > "type": "string", > "title": "Quality", > "default": "medium", > "description": "Quality for the generated image", > "x-advance-settings": true > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "x-advance-settings": true, > "description": "Output resolution for the generated image" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "x-ui-name": "image_urls", > "description": "List of URLs of input images for editing.", > "convert_svg": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "Output format for the images", > "x-advance-settings": true > }, > "input_fidelity": { > "enum": [ > "low", > "high" > ], > "type": "string", > "title": "Input Fidelity", > "default": "high", > "description": "Input fidelity for the generated image", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Image API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-image Grok Image on the Creatify API: 4 models for text to image and image to image, with credit prices, input parameters and request examples. 4 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Grok Image 2 · Text to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0) | `grok-imagine-image/v2.0` | `text_to_image` | From **0.5** credits | | [Grok Image · Text to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image) | `grok-imagine-image` | `text_to_image` | **0.5** credits | | [Grok Image 2 · Image to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0-edit) | `grok-imagine-image/v2.0/edit` | `image_to_image` | From **0.5** credits | | [Grok Image · Image to image](/api-documentation/ai-generation/models/grok-image/grok-imagine-image-edit) | `grok-imagine-image/edit` | `image_to_image` | **0.5** credits | # Grok Image Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-image/grok-imagine-image xAI Grok image generation with flexible aspect ratios and up to 2K resolution. [← Grok Image](/api-documentation/ai-generation/models/grok-image) **Model name:** `grok-imagine-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt for image generation. Minimum characters: `3`. Maximum characters: `5000`. **aspect\_ratio** `string` (default: 1:1) The aspect ratio of the generated image. Allowed values: `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`. **resolution** `string` (default: 1k) Output resolution. Allowed values: `"1k"`, `"2k"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The text prompt for image generation." > }, > "aspect_ratio": { > "enum": [ > "1:1", > "16:9", > "9:16", > "4:3", > "3:4", > "3:2", > "2:3" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "The aspect ratio of the generated image." > }, > "resolution": { > "enum": [ > "1k", > "2k" > ], > "type": "string", > "title": "Resolution", > "default": "1k", > "description": "Output resolution.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "minimum": 1, > "maximum": 4, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Image Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-image/grok-imagine-image-edit xAI Grok image editing — edit images with up to 3 reference images. [← Grok Image](/api-documentation/ai-generation/models/grok-image) **Model name:** `grok-imagine-image/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-image/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-image/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the desired edit. Minimum characters: `3`. Maximum characters: `8000`. **image\_url** `string` *required* URL of the image to edit. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 8000, > "minLength": 3, > "description": "The text prompt describing the desired edit." > }, > "image_url": { > "type": "string", > "title": "Reference Image URL", > "timeout": 20, > "max_width": 4096, > "min_width": 128, > "max_height": 4096, > "min_height": 128, > "description": "URL of the image to edit.", > "max_file_size": 8388608, > "limit_description": "Max file size: 8.0MB, Min width: 128px, Min height: 128px, Max width: 4096px, Max height: 4096px, Timeout: 20.0s" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "minimum": 1, > "maximum": 4, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Image 2 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0 xAI Grok Imagine Image 2.0 — strong in-scene typography, 13 aspect ratios, low/medium quality tiers at 1K/2K (via fal). [← Grok Image](/api-documentation/ai-generation/models/grok-image) **Model name:** `grok-imagine-image/v2.0`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1k | 2k | | - | - | - | | low | **0.5** | **1.0** | | medium | **1.0** | **1.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-image/v2.0", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-image/v2.0", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt for image generation. Minimum characters: `3`. Maximum characters: `5000`. **aspect\_ratio** `string` (default: 1:1) The aspect ratio of the generated image. Allowed values: `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`, `"2:1"`, `"1:2"`, `"20:9"`, `"19.5:9"`, `"9:19.5"`, `"9:20"`. **resolution** `string` (default: 1k) Output resolution. Allowed values: `"1k"`, `"2k"`. **quality** `string` (default: medium) Quality level of the generated image. Allowed values: `"low"`, `"medium"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The text prompt for image generation." > }, > "aspect_ratio": { > "enum": [ > "1:1", > "16:9", > "9:16", > "4:3", > "3:4", > "3:2", > "2:3", > "2:1", > "1:2", > "20:9", > "19.5:9", > "9:19.5", > "9:20" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "The aspect ratio of the generated image." > }, > "resolution": { > "enum": [ > "1k", > "2k" > ], > "type": "string", > "title": "Resolution", > "default": "1k", > "description": "Output resolution.", > "x-advance-settings": true > }, > "quality": { > "enum": [ > "low", > "medium" > ], > "type": "string", > "title": "Quality", > "default": "medium", > "description": "Quality level of the generated image.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "minimum": 1, > "maximum": 4, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Image 2 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-image/grok-imagine-image-v2-0-edit xAI Grok Imagine Image 2.0 image editing — edit with up to 3 reference images, low/medium quality tiers at 1K/2K (via fal). [← Grok Image](/api-documentation/ai-generation/models/grok-image) **Model name:** `grok-imagine-image/v2.0/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Quality | 1k | 2k | | - | - | - | | low | **0.5** | **1.0** | | medium | **1.0** | **1.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-image/v2.0/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-image/v2.0/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the desired edit. Minimum characters: `3`. Maximum characters: `8000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Up to 3 reference images. Minimum items: `1`. Maximum items: `3`. **aspect\_ratio** `string` (default: auto) Aspect ratio of the edited image. 'auto' preserves the first input image's aspect ratio. Allowed values: `"auto"`, `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`, `"2:1"`, `"1:2"`, `"20:9"`, `"19.5:9"`, `"9:19.5"`, `"9:20"`. **resolution** `string` (default: 1k) Output resolution. Allowed values: `"1k"`, `"2k"`. **quality** `string` (default: medium) Quality level of the edited image. Allowed values: `"low"`, `"medium"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 8000, > "minLength": 3, > "description": "The text prompt describing the desired edit." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 3, > "minItems": 1, > "description": "List of URLs of input images for editing. Up to 3 reference images.", > "max_file_size": 8388608, > "limit_description": "Max file size: 8.0MB, Min width: 128px, Min height: 128px, Max width: 4096px, Max height: 4096px, Timeout: 20.0s" > }, > "aspect_ratio": { > "enum": [ > "auto", > "1:1", > "16:9", > "9:16", > "4:3", > "3:4", > "3:2", > "2:3", > "2:1", > "1:2", > "20:9", > "19.5:9", > "9:19.5", > "9:20" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "Aspect ratio of the edited image. 'auto' preserves the first input image's aspect ratio." > }, > "resolution": { > "enum": [ > "1k", > "2k" > ], > "type": "string", > "title": "Resolution", > "default": "1k", > "description": "Output resolution.", > "x-advance-settings": true > }, > "quality": { > "enum": [ > "low", > "medium" > ], > "type": "string", > "title": "Quality", > "default": "medium", > "description": "Quality level of the edited image.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "minimum": 1, > "maximum": 4, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Video API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-video Grok Video on the Creatify API: 3 models for text to video and image to video, with credit prices, input parameters and request examples. 3 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Grok Video · Text to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-text-to-video) | `grok-imagine-video/text-to-video` | `text_to_video` | From **1.0** credits | | [Grok Video (Reference to Video) · Image to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-reference-to-video) | `grok-imagine-video/reference-to-video` | `image_to_video` | From **1.0** credits | | [Grok Video · Image to video](/api-documentation/ai-generation/models/grok-video/grok-imagine-video-image-to-video) | `grok-imagine-video/image-to-video` | `image_to_video` | From **1.0** credits | # Grok Video Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-video/grok-imagine-video-image-to-video xAI Grok image-to-video — animate a starting frame for up to 15 seconds. [← Grok Video](/api-documentation/ai-generation/models/grok-video) **Model name:** `grok-imagine-video/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 1s | **1.0** | **1.0** | | 2s | **1.5** | **1.5** | | 3s | **2.0** | **2.5** | | 4s | **2.5** | **3.0** | | 5s | **3.0** | **4.0** | | 6s | **3.5** | **4.5** | | 7s | **4.0** | **5.0** | | 8s | **4.5** | **6.0** | | 9s | **5.0** | **6.5** | | 10s | **5.5** | **7.5** | | 11s | **6.0** | **8.0** | | 12s | **6.5** | **8.5** | | 13s | **7.0** | **9.5** | | 14s | **7.5** | **10.0** | | 15s | **8.0** | **11.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-video/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-video/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video motion. Maximum characters: `2500`. **image\_url** `string` *required* URL of the starting frame image. **duration** `string` (default: 8) Duration of the generated video in seconds (1–15). Allowed values: `"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **aspect\_ratio** `string` (default: 16:9) Aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`. **resolution** `string` (default: 480p) Output video resolution. Allowed values: `"480p"`, `"720p"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "The text prompt describing the video motion." > }, > "image_url": { > "type": "string", > "title": "Start Image", > "x-ui-name": "start_image", > "description": "URL of the starting frame image." > }, > "duration": { > "enum": [ > "1", > "2", > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "Duration of the generated video in seconds (1–15)." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1", > "4:3", > "3:4", > "3:2", > "2:3" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "Aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "480p", > "description": "Output video resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Video (Reference to Video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-video/grok-imagine-video-reference-to-video xAI Grok reference-to-video — generate a video guided by 1–7 reference images for style and content. [← Grok Video](/api-documentation/ai-generation/models/grok-video) **Model name:** `grok-imagine-video/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 1s | **1.0** | **1.0** | | 2s | **1.5** | **1.5** | | 3s | **2.0** | **2.5** | | 4s | **2.5** | **3.0** | | 5s | **3.0** | **4.0** | | 6s | **3.5** | **4.5** | | 7s | **4.0** | **5.0** | | 8s | **4.5** | **6.0** | | 9s | **5.0** | **6.5** | | 10s | **5.5** | **7.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-video/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-video/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt describing the video to generate. Use @Image1, @Image2, etc. to reference specific images. Maximum characters: `4096`. **reference\_image\_urls** `string[]` *required* One or more reference image URLs (1–7) to guide the video generation as style and content references. Minimum items: `1`. Maximum items: `7`. **duration** `string` (default: 8) Duration of the generated video in seconds (1–10). Allowed values: `"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **aspect\_ratio** `string` (default: 16:9) Aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`. **resolution** `string` (default: 480p) Output video resolution. Allowed values: `"480p"`, `"720p"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "reference_image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 4096, > "description": "Text prompt describing the video to generate. Use @Image1, @Image2, etc. to reference specific images." > }, > "reference_image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Images", > "x-ui-name": "image_urls", > "minItems": 1, > "maxItems": 7, > "description": "One or more reference image URLs (1–7) to guide the video generation as style and content references.", > "x-mention-prefix": "image" > }, > "duration": { > "enum": [ > "1", > "2", > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "Duration of the generated video in seconds (1–10)." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1", > "4:3", > "3:4", > "3:2", > "2:3" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "Aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "480p", > "description": "Output video resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Grok Video Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/grok-video/grok-imagine-video-text-to-video xAI Grok text-to-video — up to 15 seconds with flexible aspect ratios. [← Grok Video](/api-documentation/ai-generation/models/grok-video) **Model name:** `grok-imagine-video/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 1s | **1.0** | **1.0** | | 2s | **1.5** | **1.5** | | 3s | **2.0** | **2.5** | | 4s | **2.5** | **3.0** | | 5s | **3.0** | **4.0** | | 6s | **3.5** | **4.5** | | 7s | **4.0** | **5.0** | | 8s | **4.5** | **6.0** | | 9s | **5.0** | **6.5** | | 10s | **5.5** | **7.5** | | 11s | **6.0** | **8.0** | | 12s | **6.5** | **8.5** | | 13s | **7.0** | **9.5** | | 14s | **7.5** | **10.0** | | 15s | **8.0** | **11.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "grok-imagine-video/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "grok-imagine-video/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt for video generation. Maximum characters: `2500`. **duration** `string` (default: 8) Duration of the generated video in seconds (1–15). Allowed values: `"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **aspect\_ratio** `string` (default: 16:9) Aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`. **resolution** `string` (default: 480p) Output video resolution. Allowed values: `"480p"`, `"720p"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "The text prompt for video generation." > }, > "duration": { > "enum": [ > "1", > "2", > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "8", > "description": "Duration of the generated video in seconds (1–15)." > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1", > "4:3", > "3:4", > "3:2", > "2:3" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "Aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "480p", > "description": "Output video resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling Kling on the Creatify API: 25 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 25 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Kling 4.0 · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v4-text-to-video) | `kling-video/v4/text-to-video` | `text_to_video` | From **2.5** credits | | [Kling O3 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-text-to-video) | `kling-video/o3/pro/text-to-video` | `text_to_video` | From **4.5** credits | | [Kling O3 Standard · Text to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-text-to-video) | `kling-video/o3/standard/text-to-video` | `text_to_video` | From **3.5** credits | | [Kling 3.0 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v3-pro-text-to-video) | `kling-video/v3/pro/text-to-video` | `text_to_video` | From **5.5** credits | | [Kling 3.0 Standard · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v3-standard-text-to-video) | `kling-video/v3/standard/text-to-video` | `text_to_video` | From **4.0** credits | | [Kling 2.6 Pro · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-text-to-video) | `kling-video/v2.6/pro/text-to-video` | `text_to_video` | From **7.0** credits | | [Kling Turbo 2.5 · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-text-to-video) | `kling-video/v2.5-turbo/pro/text-to-video` | `text_to_video` | From **3.5** credits | | [Kling 2.1 master · Text to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-text-to-video) | `kling-video/v2.1/master/text-to-video` | `text_to_video` | From **14.0** credits | | [Kling 4.0 · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v4-image-to-video) | `kling-video/v4/image-to-video` | `image_to_video` | From **2.5** credits | | [Kling 4.0 (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v4-reference-to-video) | `kling-video/v4/reference-to-video` | `image_to_video` | From **2.5** credits | | [Kling O3 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-image-to-video) | `kling-video/o3/pro/image-to-video` | `image_to_video` | From **4.5** credits | | [Kling O3 Pro (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-reference-to-video) | `kling-video/o3/pro/reference-to-video` | `image_to_video` | From **4.5** credits | | [Kling O3 Standard · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-image-to-video) | `kling-video/o3/standard/image-to-video` | `image_to_video` | From **3.5** credits | | [Kling O3 Standard (reference-to-video) · Image to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-reference-to-video) | `kling-video/o3/standard/reference-to-video` | `image_to_video` | From **3.5** credits | | [Kling 3.0 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v3-pro-image-to-video) | `kling-video/v3/pro/image-to-video` | `image_to_video` | From **5.5** credits | | [Kling 3.0 Standard · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v3-standard-image-to-video) | `kling-video/v3/standard/image-to-video` | `image_to_video` | From **4.0** credits | | [Kling 2.6 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-image-to-video) | `kling-video/v2.6/pro/image-to-video` | `image_to_video` | From **7.0** credits | | [Kling Turbo 2.5 · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-image-to-video) | `kling-video/v2.5-turbo/pro/image-to-video` | `image_to_video` | From **3.5** credits | | [Kling 2.1 master · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-image-to-video) | `kling-video/v2.1/master/image-to-video` | `image_to_video` | From **14.0** credits | | [Kling 2.1 Pro · Image to video](/api-documentation/ai-generation/models/kling/kling-video-v2-1-pro-image-to-video) | `kling-video/v2.1/pro/image-to-video` | `image_to_video` | From **5.0** credits | | [Kling 4.0 (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-v4-video-to-video-edit) | `kling-video/v4/video-to-video/edit` | `video_to_video` | From **2.5** credits | | [Kling O3 Pro (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-edit) | `kling-video/o3/pro/video-to-video/edit` | `video_to_video` | **10.0** credits | | [Kling O3 Pro (reference-to-video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-reference) | `kling-video/o3/pro/video-to-video/reference` | `video_to_video` | From **5.5** credits | | [Kling O3 Standard (edit video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-edit) | `kling-video/o3/standard/video-to-video/edit` | `video_to_video` | **7.5** credits | | [Kling O3 Standard (reference-to-video) · Video to video](/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-reference) | `kling-video/o3/standard/video-to-video/reference` | `video_to_video` | From **4.0** credits | # Kling O3 Pro Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-pro-image-to-video Supports video element reference, Pro achieves pixel-level locking for high-fidelity look & motion. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.5** | | 4s | **6.0** | | 5s | **7.0** | | 6s | **8.5** | | 7s | **10.0** | | 8s | **11.5** | | 9s | **13.0** | | 10s | **14.0** | | 11s | **15.5** | | 12s | **17.0** | | 13s | **18.5** | | 14s | **20.0** | | 15s | **21.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Use @Image1 to reference the start frame, @Image2 to reference the end frame. Maximum characters: `2500`. **image\_url** `string` *required* Image to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **duration** `string` (default: 5) Video duration in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **end\_image\_url** `string` Image to use as the last frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Use @Image1 to reference the start frame, @Image2 to reference the end frame." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Image to use as the first frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Pro (reference-to-video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-pro-reference-to-video Style reference tool, Pro precisely clones features for commercial-grade consistency. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/pro/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.5** | | 4s | **6.0** | | 5s | **7.0** | | 6s | **8.5** | | 7s | **10.0** | | 8s | **11.5** | | 9s | **13.0** | | 10s | **14.0** | | 11s | **15.5** | | 12s | **17.0** | | 13s | **18.5** | | 14s | **20.0** | | 15s | **21.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/pro/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/pro/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **duration** `string` (default: 5) Video duration in seconds (3-15s). Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **elements** `array` Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `3`. **image\_urls** `string[]` Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `4`. **end\_image\_url** `string` Image to use as the last frame of the video **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **start\_image\_url** `string` Start Image Url **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-ui-tooltips": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds (3-15s)." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image).", > "x-advance-settings": true, > "x-mention-prefix": "element", > "x-is-hidden": true, > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "min_height": 300, > "description": "Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image).", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "start_image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Start Image Url", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame.", > "tooltips": "Aspect ratio won’t apply if a start image exists." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Pro Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-pro-text-to-video All-around model, Pro offers top-tier character consistency and physics adherence for stability. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/pro/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.5** | | 4s | **6.0** | | 5s | **7.0** | | 6s | **8.5** | | 7s | **10.0** | | 8s | **11.5** | | 9s | **13.0** | | 10s | **14.0** | | 11s | **15.5** | | 12s | **17.0** | | 13s | **18.5** | | 14s | **20.0** | | 15s | **21.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Pro (edit video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-edit Style transfer tool, Pro ensures studio-grade stability, flicker-free smoothness, and premium quality. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/pro/video-to-video/edit`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **10.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/pro/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/pro/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **video\_url** `string` *required* Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB. **elements** `array` Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video. Maximum items: `3`. **image\_urls** `string[]` Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video. Maximum items: `4`. **keep\_audio** `boolean` (default: false) Whether to keep the original audio from the video. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video.", > "x-mention-prefix": "element", > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "video_url": { > "type": "string", > "title": "Video Url", > "max_width": 2160, > "min_width": 720, > "max_height": 2160, > "min_height": 720, > "description": "Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB.", > "max_duration": 9.99, > "min_duration": 3, > "max_file_size": 209715200 > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "max_width": 4096, > "min_height": 300, > "max_height": 4096, > "description": "Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video.", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "keep_audio": { > "type": "boolean", > "title": "Keep Audio", > "default": false, > "description": "Whether to keep the original audio from the video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Pro (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-pro-video-to-video-reference Motion transfer tool, Pro precisely restores subtle camera moves/pacing for professional control. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/pro/video-to-video/reference`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **5.5** | | 4s | **7.0** | | 5s | **8.5** | | 6s | **10.5** | | 7s | **12.0** | | 8s | **13.5** | | 9s | **15.5** | | 10s | **17.0** | | 11s | **18.5** | | 12s | **20.5** | | 13s | **22.0** | | 14s | **24.0** | | 15s | **25.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/pro/video-to-video/reference", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/pro/video-to-video/reference", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **video\_url** `string` *required* Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB. **duration** `string` (default: 5) Video duration in seconds (3-15s). Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **elements** `array` Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `3`. **image\_urls** `string[]` Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `4`. **keep\_audio** `boolean` (default: false) Whether to keep the original audio from the video. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video frame. Allowed values: `"auto"`, `"16:9"`, `"9:16"`, `"1:1"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-ui-tooltips": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds (3-15s)." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image).", > "x-advance-settings": true, > "x-mention-prefix": "element", > "x-is-hidden": true, > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "video_url": { > "type": "string", > "title": "Video Url", > "max_width": 2160, > "min_width": 720, > "max_height": 2160, > "min_height": 720, > "description": "Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB.", > "max_duration": 9.99, > "min_duration": 3, > "max_file_size": 209715200 > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "min_height": 300, > "description": "Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image).", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "keep_audio": { > "type": "boolean", > "title": "Keep Audio", > "default": false, > "description": "Whether to keep the original audio from the video.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video frame." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Standard Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-standard-image-to-video Supports video element reference, allowing precise character look cloning via uploaded video. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/standard/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **3.5** | | 4s | **4.5** | | 5s | **6.0** | | 6s | **7.0** | | 7s | **8.0** | | 8s | **9.0** | | 9s | **10.5** | | 10s | **11.5** | | 11s | **12.5** | | 12s | **13.5** | | 13s | **15.0** | | 14s | **16.0** | | 15s | **17.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/standard/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/standard/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Use @Image1 to reference the start frame, @Image2 to reference the end frame. Maximum characters: `2500`. **image\_url** `string` *required* Image to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **duration** `string` (default: 5) Video duration in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **end\_image\_url** `string` Image to use as the last frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Use @Image1 to reference the start frame, @Image2 to reference the end frame." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Image to use as the first frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Standard (reference-to-video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-standard-reference-to-video Style reference tool, extracts art style or atmosphere to generate distinctively styled videos. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/standard/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **3.5** | | 4s | **4.5** | | 5s | **6.0** | | 6s | **7.0** | | 7s | **8.0** | | 8s | **9.0** | | 9s | **10.5** | | 10s | **11.5** | | 11s | **12.5** | | 12s | **13.5** | | 13s | **15.0** | | 14s | **16.0** | | 15s | **17.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/standard/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/standard/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **duration** `string` (default: 5) Video duration in seconds (3-15s). Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **elements** `array` Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `3`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **image\_urls** `string[]` Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `4`. **end\_image\_url** `string` Image to use as the last frame of the video **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **start\_image\_url** `string` Start Image Url > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-ui-tooltips": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds (3-15s)." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image).", > "x-advance-settings": true, > "x-mention-prefix": "element", > "x-is-hidden": true, > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame.", > "tooltips": "Aspect ratio won’t apply if a start image exists." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "min_height": 300, > "description": "Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image).", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "start_image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Start Image Url", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Standard Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-standard-text-to-video All-around model supporting 15s, Native Audio & Multi-Shot, excelling in multi-character logic. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/standard/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **3.5** | | 4s | **4.5** | | 5s | **6.0** | | 6s | **7.0** | | 7s | **8.0** | | 8s | **9.0** | | 9s | **10.5** | | 10s | **11.5** | | 11s | **12.5** | | 12s | **13.5** | | 13s | **15.0** | | 14s | **16.0** | | 15s | **17.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/standard/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/standard/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Standard (edit video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-edit Style transfer tool, easily transforms videos into anime/sketch styles or edits elements. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/standard/video-to-video/edit`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **7.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/standard/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/standard/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **video\_url** `string` *required* Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB. **elements** `array` Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video. Maximum items: `3`. **image\_urls** `string[]` Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video. Maximum items: `4`. **keep\_audio** `boolean` (default: false) Whether to keep the original audio from the video. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video.", > "x-mention-prefix": "element", > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "video_url": { > "type": "string", > "title": "Video Url", > "max_width": 2160, > "min_width": 720, > "max_height": 2160, > "min_height": 720, > "description": "Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB.", > "max_duration": 9.99, > "min_duration": 3, > "max_file_size": 209715200 > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "min_height": 300, > "description": "Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video.", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "keep_audio": { > "type": "boolean", > "title": "Keep Audio", > "default": false, > "description": "Whether to keep the original audio from the video.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling O3 Standard (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-o3-standard-video-to-video-reference Motion transfer tool, applies reference motion trajectories to new scenes. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/o3/standard/video-to-video/reference`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.5** | | 5s | **6.5** | | 6s | **8.0** | | 7s | **9.0** | | 8s | **10.5** | | 9s | **11.5** | | 10s | **13.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/o3/standard/video-to-video/reference", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/o3/standard/video-to-video/reference", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order. Maximum characters: `2500`. **video\_url** `string` *required* Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, aspect ratio between 1:2 and 2:1, max 200MB. **duration** `string` (default: 5) Video duration in seconds (3-10s). Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`. **elements** `array` Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `3`. **image\_urls** `string[]` Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image). Maximum items: `4`. **keep\_audio** `boolean` (default: false) Whether to keep the original audio from the video. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video frame. Allowed values: `"auto"`, `"16:9"`, `"9:16"`, `"1:1"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-ui-tooltips": "Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds (3-10s)." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Reference in prompt as @Element1, @Element2, etc. Maximum 7 total (elements + reference images + start image).", > "x-advance-settings": true, > "x-mention-prefix": "element", > "x-is-hidden": true, > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "video_url": { > "type": "string", > "title": "Video Url", > "max_width": 2160, > "min_width": 720, > "max_height": 2160, > "min_height": 720, > "description": "Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, aspect ratio between 1:2 and 2:1, max 200MB.", > "max_duration": 9.99, > "min_duration": 3, > "max_file_size": 209715200, > "max_aspect_ratio": 2.0, > "min_aspect_ratio": 0.5 > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "title": "Image Urls", > "timeout": 20, > "maxItems": 4, > "min_width": 300, > "min_height": 300, > "description": "Additional reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images + start image).", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "keep_audio": { > "type": "boolean", > "title": "Keep Audio", > "default": false, > "description": "Whether to keep the original audio from the video.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video frame." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 2.1 master Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-image-to-video Best for scenes needing refined realistic motion and consistent characters. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.1/master/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **14.0** | | 10s | **28.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.1/master/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.1/master/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the image to be used for the video **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. **tail\_image\_url** `string` URL of the image to be used as the last frame of the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1 > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "max_width": 5000, > "min_width": 300, > "x-ui-name": "start_image", > "max_height": 5000, > "min_height": 300, > "description": "URL of the image to be used for the video", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > }, > "tail_image_url": { > "type": "string", > "title": "Tail Image Url", > "x-ui-name": "end_image", > "description": "URL of the image to be used as the last frame of the video" > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 2.1 master Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-1-master-text-to-video Best for scenes needing refined realistic motion and consistent characters. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.1/master/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **14.0** | | 10s | **28.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.1/master/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.1/master/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1 > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 2.1 Pro Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-1-pro-image-to-video High-fidelity generation with consistent characters and smooth complex camera motion. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.1/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **5.0** | | 10s | **10.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.1/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.1/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Minimum characters: `1`. Maximum characters: `2500`. **image\_url** `string` *required* Image Url **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **tail\_image\_url** `string` URL of the image to be used for the end of the video **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "minLength": 1 > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "max_width": 5000, > "min_width": 300, > "x-ui-name": "start_image", > "max_height": 5000, > "min_height": 300, > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "tail_image_url": { > "type": "string", > "title": "Tail Image Url", > "max_width": 5000, > "min_width": 300, > "x-ui-name": "end_image", > "max_height": 5000, > "min_height": 300, > "description": "URL of the image to be used for the end of the video", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling Turbo 2.5 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-image-to-video Great for energetic product demos, fast motion, and smooth action shots. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.5-turbo/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **3.5** | | 10s | **7.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.5-turbo/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.5-turbo/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2500`. **image\_url** `string` *required* URL of the image to be used for the video **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want he model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. **tail\_image\_url** `string` URL of the image to be used as the last frame of the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want he model to stick to your prompt.", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "description": "URL of the image to be used for the video", > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "min_width": 300, > "min_height": 300 > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > }, > "tail_image_url": { > "type": "string", > "title": "Tail Image Url", > "x-ui-name": "end_image", > "description": "URL of the image to be used as the last frame of the video", > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "min_width": 300, > "min_height": 300 > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling Turbo 2.5 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-5-turbo-pro-text-to-video Great for energetic product demos, fast motion, and smooth action shots. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.5-turbo/pro/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **3.5** | | 10s | **7.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.5-turbo/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.5-turbo/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "\n The CFG (Classifier Free Guidance) scale is a measure of how close you want\n the model to stick to your prompt.\n ", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 2.6 Pro Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-image-to-video Enhanced audiovisual sync, upgraded sound quality, and stronger semantic understanding for cohesive, high-fidelity video generation. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.6/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **7.0** | | 10s | **14.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.6/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.6/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **image\_url** `string` *required* URL of the image to be used for the video **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. **end\_image\_url** `string` URL of the image to be used as the last frame of the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "end_image_url": { > "type": "string", > "minLength": 1 > } > }, > "required": [ > "end_image_url" > ] > }, > "then": { > "properties": { > "generate_audio": { > "const": false > } > }, > "errorMessage": { > "properties": { > "generate_audio": "Audio generation is not supported when a tail image (end frame) is provided" > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "URL of the image to be used for the video", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "limit_description": "Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > }, > "end_image_url": { > "type": "string", > "title": "Tail Image Url", > "x-ui-name": "end_image", > "description": "URL of the image to be used as the last frame of the video" > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 2.6 Pro Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v2-6-pro-text-to-video Enhanced audiovisual sync, upgraded sound quality, and stronger semantic understanding for cohesive, high-fidelity video generation. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v2.6/pro/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 5s | **7.0** | | 10s | **14.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v2.6/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v2.6/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"5"`, `"10"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "5", > "10" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "\n The CFG (Classifier Free Guidance) scale is a measure of how close you want\n the model to stick to your prompt.\n ", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 3.0 Pro Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v3-pro-image-to-video Supports 15s & Native Audio, Pro retains high-res texture, ensuring details in large motions. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v3/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **5.5** | | 4s | **7.0** | | 5s | **8.5** | | 6s | **10.5** | | 7s | **12.0** | | 8s | **13.5** | | 9s | **15.5** | | 10s | **17.0** | | 11s | **18.5** | | 12s | **20.5** | | 13s | **22.0** | | 14s | **24.0** | | 15s | **25.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v3/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v3/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Use @Image1 to reference the start frame, @Image2 to reference the end frame. Maximum characters: `2500`. **image\_url** `string` *required* Image to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **duration** `string` (default: 5) Video duration in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **elements** `array` Elements (characters/objects) to include in the video. Each example can either be an image set (frontal + reference images) or a video. Reference in prompt as @Element1, @Element2, etc. Maximum items: `3`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want,the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **end\_image\_url** `string` Image to use as the last frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Use @Image1 to reference the start frame, @Image2 to reference the end frame." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Each example can either be an image set (frontal + reference images) or a video. Reference in prompt as @Element1, @Element2, etc.", > "x-mention-prefix": "element", > "maxItems": 3, > "min_width": 300, > "min_height": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want,the model to stick to your prompt.", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Image to use as the first frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 3.0 Pro Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v3-pro-text-to-video Supports 15s, Native Audio & Multi-Shot; Pro offers 1080p cinematic quality for stunning visuals. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v3/pro/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **5.5** | | 4s | **7.0** | | 5s | **8.5** | | 6s | **10.5** | | 7s | **12.0** | | 8s | **13.5** | | 9s | **15.5** | | 10s | **17.0** | | 11s | **18.5** | | 12s | **20.5** | | 13s | **22.0** | | 14s | **24.0** | | 15s | **25.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v3/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v3/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 3.0 Standard Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v3-standard-image-to-video Supports 15s & Native Audio, turning images into multi-shot videos with dialogue/ambience. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v3/standard/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.5** | | 5s | **6.5** | | 6s | **8.0** | | 7s | **9.0** | | 8s | **10.5** | | 9s | **11.5** | | 10s | **13.0** | | 11s | **14.0** | | 12s | **15.5** | | 13s | **16.5** | | 14s | **18.0** | | 15s | **19.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v3/standard/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v3/standard/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Use @Image1 to reference the start frame, @Image2 to reference the end frame. Maximum characters: `2500`. **image\_url** `string` *required* Image to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **duration** `string` (default: 5) Video duration in seconds. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **elements** `array` Elements (characters/objects) to include in the video. Each example can either be an image set (frontal + reference images) or a video. Reference in prompt as @Element1, @Element2, etc. Maximum items: `3`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want,the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **end\_image\_url** `string` Image to use as the last frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Use @Image1 to reference the start frame, @Image2 to reference the end frame." > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Video duration in seconds." > }, > "elements": { > "type": "array", > "title": "Elements", > "description": "Elements (characters/objects) to include in the video. Each example can either be an image set (frontal + reference images) or a video. Reference in prompt as @Element1, @Element2, etc.", > "x-mention-prefix": "element", > "maxItems": 3, > "min_height": 300, > "min_width": 300, > "max_file_size": 10485760, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want,the model to stick to your prompt.", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "start_image", > "min_height": 300, > "description": "Image to use as the first frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "timeout": 20, > "min_width": 300, > "x-ui-name": "end_image", > "min_height": 300, > "description": "Image to use as the last frame of the video.\n\nMax file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 10485760, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 3.0 Standard Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v3-standard-text-to-video Supports 15s duration, Native Audio (dialects/multilingual), and Multi-Shot storytelling. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v3/standard/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 3s | **4.0** | | 4s | **5.5** | | 5s | **6.5** | | 6s | **8.0** | | 7s | **9.0** | | 8s | **10.5** | | 9s | **11.5** | | 10s | **13.0** | | 11s | **14.0** | | 12s | **15.5** | | 13s | **16.5** | | 14s | **18.0** | | 15s | **19.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v3/standard/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v3/standard/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **cfg\_scale** `number` (default: 0.5) The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`. **generate\_audio** `boolean` (default: true) Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. **negative\_prompt** `string` (default: blur, distort, and low quality) Negative Prompt Maximum characters: `2500`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "cfg_scale": { > "type": "number", > "title": "Cfg Scale", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "blur, distort, and low quality", > "maxLength": 2500, > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 4.0 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v4-image-to-video Kling 4.0 image-to-video with native audio. Start frame and optional end frame; up to 30s and 4K. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v4/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | 2k | 4k | | - | - | - | - | - | | 3s | **2.5** | **3.5** | **4.0** | **6.5** | | 4s | **3.0** | **4.5** | **5.5** | **8.5** | | 5s | **3.5** | **5.5** | **6.5** | **10.5** | | 6s | **4.5** | **6.5** | **8.0** | **13.0** | | 7s | **5.0** | **7.5** | **9.0** | **15.0** | | 8s | **6.0** | **8.5** | **10.5** | **17.0** | | 9s | **6.5** | **9.5** | **11.5** | **19.0** | | 10s | **7.0** | **10.5** | **13.0** | **21.0** | | 11s | **8.0** | **12.0** | **14.0** | **23.5** | | 12s | **8.5** | **13.0** | **15.5** | **25.5** | | 13s | **9.5** | **14.0** | **16.5** | **27.5** | | 14s | **10.0** | **15.0** | **18.0** | **29.5** | | 15s | **10.5** | **16.0** | **19.0** | **31.5** | | 16s | **11.5** | **17.0** | **20.5** | **34.0** | | 17s | **12.0** | **18.0** | **21.5** | **36.0** | | 18s | **13.0** | **19.0** | **23.0** | **38.0** | | 19s | **13.5** | **20.0** | **24.0** | **40.0** | | 20s | **14.0** | **21.0** | **25.5** | **42.0** | | 21s | **15.0** | **22.5** | **26.5** | **44.5** | | 22s | **15.5** | **23.5** | **28.0** | **46.5** | | 23s | **16.5** | **24.5** | **29.0** | **48.5** | | 24s | **17.0** | **25.5** | **30.5** | **50.5** | | 25s | **17.5** | **26.5** | **31.5** | **52.5** | | 26s | **18.5** | **27.5** | **33.0** | **55.0** | | 27s | **19.0** | **28.5** | **34.5** | **57.0** | | 28s | **20.0** | **29.5** | **35.5** | **59.0** | | 29s | **20.5** | **30.5** | **37.0** | **61.0** | | 30s | **21.0** | **31.5** | **38.0** | **63.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v4/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "start_image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v4/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "start_image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **start\_image\_url** `string` *required* First frame of the video. JPEG/PNG. Max file size: 50MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Output resolution (720p, 1080p, 2K, 4K). Allowed values: `"720p"`, `"1080p"`, `"2k"`, `"4k"`. **end\_image\_url** `string` Last frame of the video. Cannot be used without a start frame. JPEG/PNG. Max file size: 50MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "start_image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p", > "2k", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Output resolution (720p, 1080p, 2K, 4K).", > "x-advance-settings": true > }, > "start_image_url": { > "type": "string", > "title": "Start Image", > "timeout": 20, > "min_width": 300, > "min_height": 300, > "description": "First frame of the video.\n\nJPEG/PNG. Max file size: 50MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 52428800, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "x-ui-name": "start_image" > }, > "end_image_url": { > "type": "string", > "title": "End Image", > "timeout": 20, > "min_width": 300, > "min_height": 300, > "description": "Last frame of the video. Cannot be used without a start frame.\n\nJPEG/PNG. Max file size: 50MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 52428800, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "x-ui-name": "end_image" > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 4.0 (reference-to-video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v4-reference-to-video Generate from up to 10 reference images and 5 reference videos with native audio. Up to 30s and 4K. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v4/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | 2k | 4k | | - | - | - | - | - | | 3s | **2.5** | **3.5** | **4.0** | **6.5** | | 4s | **3.0** | **4.5** | **5.5** | **8.5** | | 5s | **3.5** | **5.5** | **6.5** | **10.5** | | 6s | **4.5** | **6.5** | **8.0** | **13.0** | | 7s | **5.0** | **7.5** | **9.0** | **15.0** | | 8s | **6.0** | **8.5** | **10.5** | **17.0** | | 9s | **6.5** | **9.5** | **11.5** | **19.0** | | 10s | **7.0** | **10.5** | **13.0** | **21.0** | | 11s | **8.0** | **12.0** | **14.0** | **23.5** | | 12s | **8.5** | **13.0** | **15.5** | **25.5** | | 13s | **9.5** | **14.0** | **16.5** | **27.5** | | 14s | **10.0** | **15.0** | **18.0** | **29.5** | | 15s | **10.5** | **16.0** | **19.0** | **31.5** | | 16s | **11.5** | **17.0** | **20.5** | **34.0** | | 17s | **12.0** | **18.0** | **21.5** | **36.0** | | 18s | **13.0** | **19.0** | **23.0** | **38.0** | | 19s | **13.5** | **20.0** | **24.0** | **40.0** | | 20s | **14.0** | **21.0** | **25.5** | **42.0** | | 21s | **15.0** | **22.5** | **26.5** | **44.5** | | 22s | **15.5** | **23.5** | **28.0** | **46.5** | | 23s | **16.5** | **24.5** | **29.0** | **48.5** | | 24s | **17.0** | **25.5** | **30.5** | **50.5** | | 25s | **17.5** | **26.5** | **31.5** | **52.5** | | 26s | **18.5** | **27.5** | **33.0** | **55.0** | | 27s | **19.0** | **28.5** | **34.5** | **57.0** | | 28s | **20.0** | **29.5** | **35.5** | **59.0** | | 29s | **20.5** | **30.5** | **37.0** | **61.0** | | 30s | **21.0** | **31.5** | **38.0** | **63.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds). ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v4/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v4/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Reference images as @Image1, @Image2 and videos as @Video1, @Video2 in order. Maximum characters: `2500`. **duration** `string` (default: 5) Output duration in seconds (3-30s). Does not trim input videos. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Output resolution (720p, 1080p, 2K, 4K). Allowed values: `"720p"`, `"1080p"`, `"2k"`, `"4k"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame. Allowed values: `"16:9"`, `"9:16"`, `"1:1"`, `"21:9"`. **start\_image\_url** `string` Optional first frame. Counts toward the 10 image limit. JPEG/PNG. Max file size: 30MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s **image\_urls** `string[]` Reference images, referenced as @Image1, etc. Max 10 including the start image. Maximum items: `10`. **video\_urls** `string[]` Reference videos, referenced as @Video1, etc. Max 5, each 3-30s and 30s combined. MP4/MOV, max 300MiB, 3-30s, 700-4553px, aspect ratio 0.40-2.50, about 24-60 fps. Maximum items: `5`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Reference images as @Image1, @Image2 and videos as @Video1, @Video2 in order.", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Output duration in seconds (3-30s). Does not trim input videos." > }, > "resolution": { > "enum": [ > "720p", > "1080p", > "2k", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Output resolution (720p, 1080p, 2K, 4K).", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1", > "21:9" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame." > }, > "start_image_url": { > "type": "string", > "title": "Start Image", > "timeout": 20, > "min_width": 300, > "min_height": 300, > "description": "Optional first frame. Counts toward the 10 image limit.\n\nJPEG/PNG. Max file size: 30MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s", > "max_file_size": 31457280, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "x-ui-name": "start_image" > }, > "image_urls": { > "type": "array", > "title": "Reference Images", > "timeout": 20, > "maxItems": 10, > "min_width": 300, > "min_height": 300, > "description": "Reference images, referenced as @Image1, etc. Max 10 including the start image.", > "max_file_size": 31457280, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "items": { > "type": "string", > "limit_description": "JPEG/PNG. Max file size: 30MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > } > }, > "video_urls": { > "type": "array", > "title": "Reference Videos", > "maxItems": 5, > "items": { > "type": "string", > "limit_description": "Max 300MiB, 3-30s each, MP4/MOV, 700-4553px, aspect ratio 0.40-2.50, about 24-60 fps. 30s combined." > }, > "description": "Reference videos, referenced as @Video1, etc. Max 5, each 3-30s and 30s combined. MP4/MOV, max 300MiB, 3-30s, 700-4553px, aspect ratio 0.40-2.50, about 24-60 fps.", > "max_file_size": 314572800, > "min_duration": 3, > "max_duration": 30, > "min_width": 700, > "max_width": 4553, > "min_height": 700, > "max_height": 4553, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "timeout": 30, > "max_total_duration": 30 > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 4.0 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v4-text-to-video Kling 4.0 with native audio. Up to 30s and 4K output; text-to-video and single start-frame image-to-video. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v4/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | 2k | 4k | | - | - | - | - | - | | 3s | **2.5** | **3.5** | **4.0** | **6.5** | | 4s | **3.0** | **4.5** | **5.5** | **8.5** | | 5s | **3.5** | **5.5** | **6.5** | **10.5** | | 6s | **4.5** | **6.5** | **8.0** | **13.0** | | 7s | **5.0** | **7.5** | **9.0** | **15.0** | | 8s | **6.0** | **8.5** | **10.5** | **17.0** | | 9s | **6.5** | **9.5** | **11.5** | **19.0** | | 10s | **7.0** | **10.5** | **13.0** | **21.0** | | 11s | **8.0** | **12.0** | **14.0** | **23.5** | | 12s | **8.5** | **13.0** | **15.5** | **25.5** | | 13s | **9.5** | **14.0** | **16.5** | **27.5** | | 14s | **10.0** | **15.0** | **18.0** | **29.5** | | 15s | **10.5** | **16.0** | **19.0** | **31.5** | | 16s | **11.5** | **17.0** | **20.5** | **34.0** | | 17s | **12.0** | **18.0** | **21.5** | **36.0** | | 18s | **13.0** | **19.0** | **23.0** | **38.0** | | 19s | **13.5** | **20.0** | **24.0** | **40.0** | | 20s | **14.0** | **21.0** | **25.5** | **42.0** | | 21s | **15.0** | **22.5** | **26.5** | **44.5** | | 22s | **15.5** | **23.5** | **28.0** | **46.5** | | 23s | **16.5** | **24.5** | **29.0** | **48.5** | | 24s | **17.0** | **25.5** | **30.5** | **50.5** | | 25s | **17.5** | **26.5** | **31.5** | **52.5** | | 26s | **18.5** | **27.5** | **33.0** | **55.0** | | 27s | **19.0** | **28.5** | **34.5** | **57.0** | | 28s | **20.0** | **29.5** | **35.5** | **59.0** | | 29s | **20.5** | **30.5** | **37.0** | **61.0** | | 30s | **21.0** | **31.5** | **38.0** | **63.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v4/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v4/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Prompt Maximum characters: `2500`. **duration** `string` (default: 5) The duration of the generated video in seconds Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Output resolution (720p, 1080p, 2K, 4K). Allowed values: `"720p"`, `"1080p"`, `"2k"`, `"4k"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video frame Allowed values: `"16:9"`, `"9:16"`, `"1:1"`, `"21:9"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500 > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p", > "2k", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Output resolution (720p, 1080p, 2K, 4K).", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16", > "1:1", > "21:9" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video frame" > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Kling 4.0 (edit video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/kling/kling-video-v4-video-to-video-edit Edit or re-create an input video with optional reference images, with native audio. Up to 30s and 4K. [← Kling](/api-documentation/ai-generation/models/kling) **Model name:** `kling-video/v4/video-to-video/edit`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | 2k | 4k | | - | - | - | - | - | | 3s | **2.5** | **3.5** | **4.0** | **6.5** | | 4s | **3.0** | **4.5** | **5.5** | **8.5** | | 5s | **3.5** | **5.5** | **6.5** | **10.5** | | 6s | **4.5** | **6.5** | **8.0** | **13.0** | | 7s | **5.0** | **7.5** | **9.0** | **15.0** | | 8s | **6.0** | **8.5** | **10.5** | **17.0** | | 9s | **6.5** | **9.5** | **11.5** | **19.0** | | 10s | **7.0** | **10.5** | **13.0** | **21.0** | | 11s | **8.0** | **12.0** | **14.0** | **23.5** | | 12s | **8.5** | **13.0** | **15.5** | **25.5** | | 13s | **9.5** | **14.0** | **16.5** | **27.5** | | 14s | **10.0** | **15.0** | **18.0** | **29.5** | | 15s | **10.5** | **16.0** | **19.0** | **31.5** | | 16s | **11.5** | **17.0** | **20.5** | **34.0** | | 17s | **12.0** | **18.0** | **21.5** | **36.0** | | 18s | **13.0** | **19.0** | **23.0** | **38.0** | | 19s | **13.5** | **20.0** | **24.0** | **40.0** | | 20s | **14.0** | **21.0** | **25.5** | **42.0** | | 21s | **15.0** | **22.5** | **26.5** | **44.5** | | 22s | **15.5** | **23.5** | **28.0** | **46.5** | | 23s | **16.5** | **24.5** | **29.0** | **48.5** | | 24s | **17.0** | **25.5** | **30.5** | **50.5** | | 25s | **17.5** | **26.5** | **31.5** | **52.5** | | 26s | **18.5** | **27.5** | **33.0** | **55.0** | | 27s | **19.0** | **28.5** | **34.5** | **57.0** | | 28s | **20.0** | **29.5** | **35.5** | **59.0** | | 29s | **20.5** | **30.5** | **37.0** | **61.0** | | 30s | **21.0** | **31.5** | **38.0** | **63.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds). ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "kling-video/v4/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "duration": "5" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "kling-video/v4/video-to-video/edit", "input_params": { "prompt": "Change the setting to a bright café while she keeps talking.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4", "duration": "5" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Reference the source video as @Video1 and reference images as @Image1, etc. Maximum characters: `2500`. **video\_url** `string` *required* Video to edit. MP4/MOV, max 300MiB, 3-30s, 700-4553px, aspect ratio 0.40-2.50, about 24-60 fps. **duration** `string` *required* (default: 5) Desired output duration in seconds (3-30s). Required; does not trim the input video. Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **image\_urls** `string[]` Reference images, referenced as @Image1, etc. Max 10. Maximum items: `10`. **resolution** `string` (default: 720p) Output resolution (720p, 1080p, 2K, 4K). Allowed values: `"720p"`, `"1080p"`, `"2k"`, `"4k"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url", > "duration" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2500, > "description": "Reference the source video as @Video1 and reference images as @Image1, etc.", > "x-support-types": [ > "mentions" > ] > }, > "video_url": { > "type": "string", > "title": "Source Video", > "description": "Video to edit. MP4/MOV, max 300MiB, 3-30s, 700-4553px, aspect ratio 0.40-2.50, about 24-60 fps.", > "max_file_size": 314572800, > "min_duration": 3, > "max_duration": 30, > "min_width": 700, > "max_width": 4553, > "min_height": 700, > "max_height": 4553, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "timeout": 30 > }, > "image_urls": { > "type": "array", > "title": "Reference Images", > "timeout": 20, > "maxItems": 10, > "min_width": 300, > "min_height": 300, > "description": "Reference images, referenced as @Image1, etc. Max 10.", > "max_file_size": 31457280, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "items": { > "type": "string", > "limit_description": "JPEG/PNG. Max file size: 30MiB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s" > } > }, > "duration": { > "enum": [ > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Desired output duration in seconds (3-30s). Required; does not trim the input video." > }, > "resolution": { > "enum": [ > "720p", > "1080p", > "2k", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Output resolution (720p, 1080p, 2K, 4K).", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Lyria API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/lyria Lyria on the Creatify API: 1 model for text to music, with credit prices, input parameters and request examples. 1 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Lyria 3 Pro · Text to music](/api-documentation/ai-generation/models/lyria/lyria-3-pro-text-to-music) | `lyria-3-pro/text-to-music` | `text_to_music` | **0.80** credits | # Lyria 3 Pro Text to Music API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/lyria/lyria-3-pro-text-to-music Generate complete tracks with vocals or instrumentals. Describe style, lyrics, and song structure in the prompt; track length is model-determined. [← Lyria](/api-documentation/ai-generation/models/lyria) **Model name:** `lyria-3-pro/text-to-music`\ **Generation type:** `text_to_music`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.80** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "lyria-3-pro/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "lyria-3-pro/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe genre, mood, instruments, tempo, vocals, and song structure. For background music, ask for instrumental only, no vocals. Minimum characters: `1`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "x-ui-name": "prompt", > "description": "Describe genre, mood, instruments, tempo, vocals, and song structure. For background music, ask for instrumental only, no vocals." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # MiniMax API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax MiniMax on the Creatify API: 5 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 5 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Minimax H3 Max · Text to video](/api-documentation/ai-generation/models/minimax/minimax-h3-max-text-to-video) | `minimax/h3-max/text-to-video` | `text_to_video` | From **2.5** credits | | [Minimax H3 · Text to video](/api-documentation/ai-generation/models/minimax/minimax-h3-text-to-video) | `minimax/h3/text-to-video` | `text_to_video` | From **3.5** credits | | [Minimax H3 Max · Image to video](/api-documentation/ai-generation/models/minimax/minimax-h3-max-image-to-video) | `minimax/h3-max/image-to-video` | `image_to_video` | From **2.5** credits | | [Minimax H3 · Image to video](/api-documentation/ai-generation/models/minimax/minimax-h3-image-to-video) | `minimax/h3/image-to-video` | `image_to_video` | From **3.5** credits | | [Minimax H3 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/minimax/minimax-h3-reference-to-video) | `minimax/h3/reference-to-video` | `video_to_video` | From **3.5** credits | # MiniMax Music API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax-music MiniMax Music on the Creatify API: 2 models for text to music, with credit prices, input parameters and request examples. 2 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [MiniMax Music 3.0 · Text to music](/api-documentation/ai-generation/models/minimax-music/minimax-music-3-0-text-to-music) | `minimax-music-3.0/text-to-music` | `text_to_music` | **3.0** credits | | [MiniMax Music 2.6 · Text to music](/api-documentation/ai-generation/models/minimax-music/minimax-music-2-6-text-to-music) | `minimax-music-2.6/text-to-music` | `text_to_music` | **3.0** credits | # MiniMax Music 2.6 Text to Music API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax-music/minimax-music-2-6-text-to-music Generate songs with custom or automatic lyrics, or vocal-free instrumental tracks. Track length is model-determined. [← MiniMax Music](/api-documentation/ai-generation/models/minimax-music) **Model name:** `minimax-music-2.6/text-to-music`\ **Generation type:** `text_to_music`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **3.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax-music-2.6/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad.", "model": "music-2.6", "audio_setting": { "sample_rate": 44100, "bitrate": 128000, "format": "mp3" }, "output_format": "url" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax-music-2.6/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad.", "model": "music-2.6", "audio_setting": { "sample_rate": 44100, "bitrate": 128000, "format": "mp3" }, "output_format": "url" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text description that guides the audio generation process. This prompt defines what you want to hear in the generated audio content. Minimum characters: `1`. Maximum characters: `2000`. **model** `string` *required* (default: music-2.6) The AI model to use for music generation Allowed values: `"music-2.6"`. **audio\_setting** `object` *required* Audio configuration settings **output\_format** `string` *required* (default: url) Specifies the format of the output audio. Allowed values: `"url"`. **lyrics** `string` Optional lyrics with structure tags such as \[Verse] and \[Chorus]. Leave empty to generate lyrics from the prompt. Minimum characters: `0`. Maximum characters: `3500`. **lyrics\_optimizer** `boolean` (default: true) Generate lyrics from the prompt when lyrics are empty. **is\_instrumental** `boolean` (default: false) Generate music without vocals; lyrics are not required. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "model", > "audio_setting", > "output_format" > ], > "properties": { > "model": { > "enum": [ > "music-2.6" > ], > "type": "string", > "title": "Model", > "default": "music-2.6", > "description": "The AI model to use for music generation", > "x-is-hidden": true > }, > "lyrics": { > "type": "string", > "title": "Lyrics", > "maxLength": 3500, > "minLength": 0, > "description": "Optional lyrics with structure tags such as [Verse] and [Chorus]. Leave empty to generate lyrics from the prompt." > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text description that guides the audio generation process. This prompt defines what you want to hear in the generated audio content.", > "x-ui-name": "prompt" > }, > "audio_setting": { > "type": "object", > "title": "Audio Settings", > "required": [ > "sample_rate", > "bitrate", > "format" > ], > "x-ui-name": "audioSettings", > "properties": { > "format": { > "enum": [ > "mp3" > ], > "type": "string", > "title": "Format", > "default": "mp3", > "description": "Audio format", > "x-is-hidden": true > }, > "bitrate": { > "enum": [ > 64000, > 128000, > 256000 > ], > "type": "integer", > "title": "Bitrate", > "default": 128000, > "description": "The bitrate of the generated audio in kbps (kilobits per second). Higher bitrates preserve more audio quality but create larger files.", > "x-advance-settings": true > }, > "sample_rate": { > "enum": [ > 24000, > 32000, > 44100 > ], > "type": "integer", > "title": "SampleRate", > "default": 44100, > "x-ui-name": "sampleRate", > "description": "The sample rate of the generated audio in Hz (samples per second). Higher sample rates capture more audio detail and frequency range but result in larger file sizes.", > "x-advance-settings": true > } > }, > "description": "Audio configuration settings" > }, > "output_format": { > "enum": [ > "url" > ], > "type": "string", > "title": "Output format", > "default": "url", > "x-ui-name": "outputFormat", > "description": "Specifies the format of the output audio.", > "x-is-hidden": true > }, > "lyrics_optimizer": { > "type": "boolean", > "title": "Auto-generate lyrics", > "default": true, > "description": "Generate lyrics from the prompt when lyrics are empty.", > "x-advance-settings": true > }, > "is_instrumental": { > "type": "boolean", > "title": "Instrumental only", > "default": false, > "description": "Generate music without vocals; lyrics are not required." > } > }, > "allOf": [ > { > "if": { > "properties": { > "is_instrumental": { > "const": false > }, > "lyrics_optimizer": { > "const": false > } > }, > "required": [ > "is_instrumental", > "lyrics_optimizer" > ] > }, > "then": { > "required": [ > "lyrics" > ], > "properties": { > "lyrics": { > "minLength": 1 > } > } > } > } > ] > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # MiniMax Music 3.0 Text to Music API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax-music/minimax-music-3-0-text-to-music Generate songs with custom or automatic lyrics, or vocal-free instrumental tracks. Track length is model-determined. [← MiniMax Music](/api-documentation/ai-generation/models/minimax-music) **Model name:** `minimax-music-3.0/text-to-music`\ **Generation type:** `text_to_music`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **3.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax-music-3.0/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad.", "model": "music-3.0", "audio_setting": { "sample_rate": 44100, "bitrate": 128000, "format": "mp3" }, "output_format": "url" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax-music-3.0/text-to-music", "input_params": { "prompt": "An upbeat acoustic track for a summer product ad.", "model": "music-3.0", "audio_setting": { "sample_rate": 44100, "bitrate": 128000, "format": "mp3" }, "output_format": "url" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text description that guides the audio generation process. This prompt defines what you want to hear in the generated audio content. Minimum characters: `1`. Maximum characters: `2000`. **model** `string` *required* (default: music-3.0) The AI model to use for music generation Allowed values: `"music-3.0"`. **audio\_setting** `object` *required* Audio configuration settings **output\_format** `string` *required* (default: url) Specifies the format of the output audio. Allowed values: `"url"`. **lyrics** `string` Optional lyrics with structure tags such as \[Verse] and \[Chorus]. Leave empty to generate lyrics from the prompt. Minimum characters: `0`. Maximum characters: `3500`. **lyrics\_optimizer** `boolean` (default: true) Generate lyrics from the prompt when lyrics are empty. **is\_instrumental** `boolean` (default: false) Generate music without vocals; lyrics are not required. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "model", > "audio_setting", > "output_format" > ], > "properties": { > "model": { > "enum": [ > "music-3.0" > ], > "type": "string", > "title": "Model", > "default": "music-3.0", > "description": "The AI model to use for music generation", > "x-is-hidden": true > }, > "lyrics": { > "type": "string", > "title": "Lyrics", > "maxLength": 3500, > "minLength": 0, > "description": "Optional lyrics with structure tags such as [Verse] and [Chorus]. Leave empty to generate lyrics from the prompt." > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text description that guides the audio generation process. This prompt defines what you want to hear in the generated audio content.", > "x-ui-name": "prompt" > }, > "audio_setting": { > "type": "object", > "title": "Audio Settings", > "required": [ > "sample_rate", > "bitrate", > "format" > ], > "x-ui-name": "audioSettings", > "properties": { > "format": { > "enum": [ > "mp3" > ], > "type": "string", > "title": "Format", > "default": "mp3", > "description": "Audio format", > "x-is-hidden": true > }, > "bitrate": { > "enum": [ > 64000, > 128000, > 256000 > ], > "type": "integer", > "title": "Bitrate", > "default": 128000, > "description": "The bitrate of the generated audio in kbps (kilobits per second). Higher bitrates preserve more audio quality but create larger files.", > "x-advance-settings": true > }, > "sample_rate": { > "enum": [ > 24000, > 32000, > 44100 > ], > "type": "integer", > "title": "SampleRate", > "default": 44100, > "x-ui-name": "sampleRate", > "description": "The sample rate of the generated audio in Hz (samples per second). Higher sample rates capture more audio detail and frequency range but result in larger file sizes.", > "x-advance-settings": true > } > }, > "description": "Audio configuration settings" > }, > "output_format": { > "enum": [ > "url" > ], > "type": "string", > "title": "Output format", > "default": "url", > "x-ui-name": "outputFormat", > "description": "Specifies the format of the output audio.", > "x-is-hidden": true > }, > "lyrics_optimizer": { > "type": "boolean", > "title": "Auto-generate lyrics", > "default": true, > "description": "Generate lyrics from the prompt when lyrics are empty.", > "x-advance-settings": true > }, > "is_instrumental": { > "type": "boolean", > "title": "Instrumental only", > "default": false, > "description": "Generate music without vocals; lyrics are not required." > } > }, > "allOf": [ > { > "if": { > "properties": { > "is_instrumental": { > "const": false > }, > "lyrics_optimizer": { > "const": false > } > }, > "required": [ > "is_instrumental", > "lyrics_optimizer" > ] > }, > "then": { > "required": [ > "lyrics" > ], > "properties": { > "lyrics": { > "minLength": 1 > } > } > } > } > ] > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Minimax H3 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax/minimax-h3-image-to-video MiniMax Hailuo-03 — 2K image-to-video with optional first-to-last keyframe. [← MiniMax](/api-documentation/ai-generation/models/minimax) **Model name:** `minimax/h3/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 2K | | - | - | - | | 4s | **3.5** | **5.5** | | 5s | **4.0** | **6.5** | | 6s | **5.0** | **8.0** | | 7s | **6.0** | **9.5** | | 8s | **6.5** | **10.5** | | 9s | **7.5** | **12.0** | | 10s | **8.0** | **13.0** | | 11s | **9.0** | **14.5** | | 12s | **10.0** | **16.0** | | 13s | **10.5** | **17.0** | | 14s | **11.5** | **18.5** | | 15s | **12.0** | **19.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax/h3/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax/h3/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **image\_url** `string` *required* URL of the image to use as the first frame. The output aspect ratio follows this image. **end\_image\_url** `string` Optional URL of the image to use as the last frame (first-to-last keyframe). **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **resolution** `string` (default: 2K) 768P or 2K resolution. Allowed values: `"768P"`, `"2K"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "URL of the image to use as the first frame. The output aspect ratio follows this image." > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "Optional URL of the image to use as the last frame (first-to-last keyframe)." > }, > "duration": { > "enum": [ > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "resolution": { > "enum": [ > "768P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "768P or 2K resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Minimax H3 Max Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax/minimax-h3-max-image-to-video MiniMax Hailuo-03 Max — fast 480P/768P image-to-video with optional first-to-last keyframe. [← MiniMax](/api-documentation/ai-generation/models/minimax) **Model name:** `minimax/h3-max/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480P | 768P | | - | - | - | | 5s | **2.5** | **4.0** | | 6s | **3.0** | **5.0** | | 7s | **3.5** | **6.0** | | 8s | **4.0** | **6.5** | | 9s | **4.5** | **7.5** | | 10s | **5.0** | **8.0** | | 11s | **5.5** | **9.0** | | 12s | **6.0** | **10.0** | | 13s | **6.5** | **10.5** | | 14s | **7.0** | **11.5** | | 15s | **7.5** | **12.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax/h3-max/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax/h3-max/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **image\_url** `string` *required* URL of the image to use as the first frame. The output aspect ratio follows this image. **end\_image\_url** `string` Optional URL of the image to use as the last frame (first-to-last keyframe). **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **resolution** `string` (default: 768P) 480P or 768P resolution (2K is not supported). Allowed values: `"480P"`, `"768P"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "URL of the image to use as the first frame. The output aspect ratio follows this image." > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "timeout": 20, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "Optional URL of the image to use as the last frame (first-to-last keyframe)." > }, > "duration": { > "enum": [ > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "resolution": { > "enum": [ > "480P", > "768P" > ], > "type": "string", > "title": "Resolution", > "default": "768P", > "description": "480P or 768P resolution (2K is not supported).", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Minimax H3 Max Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax/minimax-h3-max-text-to-video MiniMax Hailuo-03 Max — fast 480P/768P text-to-video generation. [← MiniMax](/api-documentation/ai-generation/models/minimax) **Model name:** `minimax/h3-max/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480P | 768P | | - | - | - | | 5s | **2.5** | **4.0** | | 6s | **3.0** | **5.0** | | 7s | **3.5** | **6.0** | | 8s | **4.0** | **6.5** | | 9s | **4.5** | **7.5** | | 10s | **5.0** | **8.0** | | 11s | **5.5** | **9.0** | | 12s | **6.0** | **10.0** | | 13s | **6.5** | **10.5** | | 14s | **7.0** | **11.5** | | 15s | **7.5** | **12.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax/h3-max/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax/h3-max/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **resolution** `string` (default: 768P) 480P or 768P resolution (2K is not supported). Allowed values: `"480P"`, `"768P"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "duration": { > "enum": [ > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "480P", > "768P" > ], > "type": "string", > "title": "Resolution", > "default": "768P", > "description": "480P or 768P resolution (2K is not supported).", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Minimax H3 (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax/minimax-h3-reference-to-video MiniMax Hailuo-03 — 2K video generation conditioned on reference images, videos, and audio. [← MiniMax](/api-documentation/ai-generation/models/minimax) **Model name:** `minimax/h3/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 2K | | - | - | - | | 4s | **3.5** | **5.5** | | 5s | **4.0** | **6.5** | | 6s | **5.0** | **8.0** | | 7s | **6.0** | **9.5** | | 8s | **6.5** | **10.5** | | 9s | **7.5** | **12.0** | | 10s | **8.0** | **13.0** | | 11s | **9.0** | **14.5** | | 12s | **10.0** | **16.0** | | 13s | **10.5** | **17.0** | | 14s | **11.5** | **18.5** | | 15s | **12.0** | **19.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds) and each reference image beyond the included ones. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax/h3/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "reference_video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "reference_audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax/h3/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "reference_image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "reference_video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "reference_audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1, etc. Minimum characters: `1`. Maximum characters: `7000`. **reference\_image\_urls** `string[]` Up to 9 reference images. First 5 free, each additional image billed separately. Maximum items: `9`. **reference\_video\_urls** `string[]` Up to 3 reference video clips (2-15s each, combined ≤15s). Billed per second. Maximum items: `3`. **reference\_audio\_urls** `string[]` Up to 3 reference audio clips (free). Requires at least one image or video reference. Maximum items: `3`. **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **aspect\_ratio** `string` (default: adaptive) The aspect ratio of the generated video. Use 'adaptive' to match reference media. Allowed values: `"adaptive"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **resolution** `string` (default: 2K) 768P or 2K resolution. Allowed values: `"768P"`, `"2K"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "x-support-types": [ > "mentions" > ], > "description": "Refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1, etc." > }, > "reference_image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Images", > "maxItems": 9, > "x-ui-name": "image_urls", > "x-mention-prefix": "image", > "x-free-image-count": 5, > "min_width": 256, > "min_height": 256, > "max_width": 5760, > "max_height": 5760, > "max_file_size": 31457280, > "max_aspect_ratio": 2.5, > "min_aspect_ratio": 0.4, > "description": "Up to 9 reference images. First 5 free, each additional image billed separately." > }, > "reference_video_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Videos", > "maxItems": 3, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "x-ui-name": "video_urls", > "description": "Up to 3 reference video clips (2-15s each, combined ≤15s). Billed per second." > }, > "reference_audio_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Reference Audio", > "maxItems": 3, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "x-ui-name": "audio_urls", > "description": "Up to 3 reference audio clips (free). Requires at least one image or video reference." > }, > "duration": { > "enum": [ > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "aspect_ratio": { > "enum": [ > "adaptive", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "adaptive", > "description": "The aspect ratio of the generated video. Use 'adaptive' to match reference media." > }, > "resolution": { > "enum": [ > "768P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "768P or 2K resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Minimax H3 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/minimax/minimax-h3-text-to-video MiniMax Hailuo-03 — state-of-the-art 2K text-to-video generation. [← MiniMax](/api-documentation/ai-generation/models/minimax) **Model name:** `minimax/h3/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 768P | 2K | | - | - | - | | 4s | **3.5** | **5.5** | | 5s | **4.0** | **6.5** | | 6s | **5.0** | **8.0** | | 7s | **6.0** | **9.5** | | 8s | **6.5** | **10.5** | | 9s | **7.5** | **12.0** | | 10s | **8.0** | **13.0** | | 11s | **9.0** | **14.5** | | 12s | **10.0** | **16.0** | | 13s | **10.5** | **17.0** | | 14s | **11.5** | **18.5** | | 15s | **12.0** | **19.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "minimax/h3/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "minimax/h3/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Text prompt for video generation. Minimum characters: `1`. Maximum characters: `7000`. **duration** `integer` (default: 5) The duration of the video in seconds. Allowed values: `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **resolution** `string` (default: 2K) 768P or 2K resolution. Allowed values: `"768P"`, `"2K"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 7000, > "description": "Text prompt for video generation." > }, > "duration": { > "enum": [ > 4, > 5, > 6, > 7, > 8, > 9, > 10, > 11, > 12, > 13, > 14, > 15 > ], > "type": "integer", > "title": "Duration", > "default": 5, > "description": "The duration of the video in seconds." > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "resolution": { > "enum": [ > "768P", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "768P or 2K resolution.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana Nano Banana on the Creatify API: 10 models for text to image and image to image, with credit prices, input parameters and request examples. 10 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Nano Banana 2.1 · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1) | `nano-banana-2.1` | `text_to_image` | From **1.0** credits | | [Nano Banana 2 Lite · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite) | `nano-banana-2-lite` | `text_to_image` | **0.5** credits | | [Nano Banana 2 · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2) | `nano-banana-2` | `text_to_image` | From **1.0** credits | | [Nano Banana Pro · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-pro) | `nano-banana-pro` | `text_to_image` | From **1.5** credits | | [Nano Banana · Text to image](/api-documentation/ai-generation/models/nano-banana/nano-banana) | `nano-banana` | `text_to_image` | **0.5** credits | | [Nano Banana 2.1 · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1-edit) | `nano-banana-2.1/edit` | `image_to_image` | From **1.0** credits | | [Nano Banana 2 Lite · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite-edit) | `nano-banana-2-lite/edit` | `image_to_image` | **0.5** credits | | [Nano Banana 2 · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-2-edit) | `nano-banana-2/edit` | `image_to_image` | From **1.0** credits | | [Nano Banana Pro · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-pro-edit) | `nano-banana-pro/edit` | `image_to_image` | From **1.5** credits | | [Nano Banana · Image to image](/api-documentation/ai-generation/models/nano-banana/nano-banana-edit) | `nano-banana/edit` | `image_to_image` | **0.5** credits | # Nano Banana Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana High-fidelity realism with very strong character consistency and multi-attribute control. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image generation Minimum characters: `1`. Maximum characters: `5000`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **aspect\_ratio** `string` (default: 1:1) Aspect ratio for generated images. Default is 1:1. Allowed values: `"21:9"`, `"1:1"`, `"4:3"`, `"3:2"`, `"2:3"`, `"5:4"`, `"4:5"`, `"3:4"`, `"16:9"`, `"9:16"`. **output\_format** `string` (default: jpeg) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 1, > "description": "The prompt for image generation" > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "examples": [ > 1 > ], > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "aspect_ratio": { > "enum": [ > "21:9", > "1:1", > "4:3", > "3:2", > "2:3", > "5:4", > "4:5", > "3:4", > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "Aspect ratio for generated images. Default is 1:1." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "Output format for the images", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2 Ultra-consistent characters with commercial-grade quality. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 0.5K | **1.0** | | 1K | **1.0** | | 2K | **1.5** | | 4K | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"0.5K"`, `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "0.5K", > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2.1 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1 Google's Nano Banana 2.1 image generation model, distinct from Nano Banana 2. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2.1`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **1.0** | | 2K | **1.5** | | 4K | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2.1", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2.1", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt to generate an image from. Minimum characters: `3`. Maximum characters: `5000`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The text prompt to generate an image from." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2.1 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2-1-edit Google's Nano Banana 2.1 image editing model, distinct from Nano Banana 2. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2.1/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **1.0** | | 2K | **1.5** | | 4K | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2.1/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2.1/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **image\_urls** `string[]` *required* The URLs of the images to use for image editing. Minimum items: `1`. Maximum items: `14`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 14, > "minItems": 1, > "max_file_size": 20971520, > "max_pixels": 4194304, > "convert_svg": true, > "description": "The URLs of the images to use for image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2-edit Ultra-consistent characters with commercial-grade quality. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 0.5K | **1.0** | | 1K | **1.0** | | 2K | **1.5** | | 4K | **2.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **image\_urls** `string[]` *required* The URLs of the images to use for image-to-image generation or image editing. Minimum items: `1`. Maximum items: `14`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"0.5K"`, `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 14, > "minItems": 1, > "max_file_size": 20971520, > "max_pixels": 4194304, > "convert_svg": true, > "description": "The URLs of the images to use for image-to-image generation or image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "0.5K", > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2 Lite Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite Ultra-consistent characters with commercial-grade quality. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2-lite`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2-lite", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2-lite", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "1K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana 2 Lite Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-2-lite-edit Ultra-consistent characters with commercial-grade quality. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-2-lite/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-2-lite/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-2-lite/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **image\_urls** `string[]` *required* The URLs of the images to use for image-to-image generation or image editing. Minimum items: `1`. Maximum items: `14`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 14, > "minItems": 1, > "max_file_size": 20971520, > "max_pixels": 4194304, > "convert_svg": true, > "description": "The URLs of the images to use for image-to-image generation or image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "1K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-edit High-fidelity realism with very strong character consistency and multi-attribute control. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Minimum items: `1`. Maximum items: `3`. **num\_images** `integer` (default: 1) Number of images to generate Minimum: `1`. Maximum: `4`. **aspect\_ratio** `string` (default: 1:1) Aspect ratio for generated images. Default is 1:1. Allowed values: `"21:9"`, `"1:1"`, `"4:3"`, `"3:2"`, `"2:3"`, `"5:4"`, `"4:5"`, `"3:4"`, `"16:9"`, `"9:16"`. **output\_format** `string` (default: jpeg) Output format for the images Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 1, > "description": "The prompt for image editing." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 3, > "minItems": 1, > "description": "List of URLs of input images for editing.", > "max_file_size": 20971520 > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "examples": [ > 1 > ], > "x-ui-name": "output_nums", > "description": "Number of images to generate" > }, > "aspect_ratio": { > "enum": [ > "21:9", > "1:1", > "4:3", > "3:2", > "2:3", > "5:4", > "4:5", > "3:4", > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "Aspect ratio for generated images. Default is 1:1." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "Output format for the images", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana Pro Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-pro Ultra-consistent characters with commercial-grade quality. [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-pro`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **1.5** | | 2K | **1.5** | | 4K | **3.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-pro", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-pro", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Nano Banana Pro Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/nano-banana/nano-banana-pro-edit Ultra-consistent characters with commercial-grade quality. (a.k.a Nano Banana 2) [← Nano Banana](/api-documentation/ai-generation/models/nano-banana) **Model name:** `nano-banana-pro/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **1.5** | | 2K | **1.5** | | 4K | **3.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "nano-banana-pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "nano-banana-pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt for image editing. Minimum characters: `3`. Maximum characters: `5000`. **image\_urls** `string[]` *required* The URLs of the images to use for image-to-image generation or image editing. Minimum items: `1`. Maximum items: `14`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `4`. **resolution** `string` (default: 1K) The resolution of the image to generate. Allowed values: `"1K"`, `"2K"`, `"4K"`. **aspect\_ratio** `string` (default: 9:16) The aspect ratio of the generated image. Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"3:2"`, `"4:3"`, `"5:4"`, `"1:1"`, `"4:5"`, `"3:4"`, `"2:3"`, `"9:16"`. **output\_format** `string` (default: png) The format of the generated image. Allowed values: `"jpeg"`, `"png"`, `"webp"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 3, > "description": "The prompt for image editing." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 14, > "minItems": 1, > "max_file_size": 20971520, > "max_pixels": 4194304, > "description": "The URLs of the images to use for image-to-image generation or image editing." > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "1K", > "description": "The resolution of the image to generate.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "3:2", > "4:3", > "5:4", > "1:1", > "4:5", > "3:4", > "2:3", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "9:16", > "description": "The aspect ratio of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png", > "webp" > ], > "type": "string", > "title": "Output Format", > "default": "png", > "description": "The format of the generated image.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Other API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/other Other on the Creatify API: 2 models for text to video and image to video, with credit prices, input parameters and request examples. 2 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [LTX v2 · Text to video](/api-documentation/ai-generation/models/other/ltxv-2-text-to-video) | `ltxv-2/text-to-video` | `text_to_video` | From **4.0** credits | | [LTX v2 · Image to video](/api-documentation/ai-generation/models/other/ltxv-2-image-to-video) | `ltxv-2/image-to-video` | `image_to_video` | From **4.0** credits | # LTX v2 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/other/ltxv-2-image-to-video High-quality 4K cinematic videos, suitable for premium commercials and storytelling. [← Other](/api-documentation/ai-generation/models/other) **Model name:** `ltxv-2/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 6s | **4.0** | | 8s | **5.0** | | 10s | **6.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "ltxv-2/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "ltxv-2/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats. **fps** `integer` (default: 25) The frames per second of the generated video Allowed values: `25`, `50`. **duration** `integer` (default: 6) The duration of the generated video in seconds Allowed values: `6`, `8`, `10`. **resolution** `string` (default: 1080p) The resolution of the generated video Allowed values: `"1080p"`, `"1440p"`, `"2160p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the generated video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "fps": { > "enum": [ > 25, > 50 > ], > "type": "integer", > "title": "Frames per Second", > "default": 25, > "description": "The frames per second of the generated video", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > 6, > 8, > 10 > ], > "type": "integer", > "title": "Duration", > "default": 6, > "description": "The duration of the generated video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "description": "URL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.", > "max_file_size": 7340032 > }, > "resolution": { > "enum": [ > "1080p", > "1440p", > "2160p" > ], > "type": "string", > "title": "Resolution", > "default": "1080p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the generated video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # LTX v2 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/other/ltxv-2-text-to-video High-quality 4K cinematic videos, suitable for premium commercials and storytelling. [← Other](/api-documentation/ai-generation/models/other) **Model name:** `ltxv-2/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 6s | **4.0** | | 8s | **5.0** | | 10s | **6.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "ltxv-2/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "ltxv-2/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **fps** `integer` (default: 25) The frames per second of the generated video Allowed values: `25`, `50`. **duration** `integer` (default: 6) The duration of the generated video in seconds Allowed values: `6`, `8`, `10`. **resolution** `string` (default: 1080p) The resolution of the generated video Allowed values: `"1080p"`, `"1440p"`, `"2160p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the generated video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "fps": { > "enum": [ > 25, > 50 > ], > "type": "integer", > "title": "Frames per Second", > "default": 25, > "description": "The frames per second of the generated video", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > 6, > 8, > 10 > ], > "type": "integer", > "title": "Duration", > "default": 6, > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "1080p", > "1440p", > "2160p" > ], > "type": "string", > "title": "Resolution", > "default": "1080p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the generated video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Pixverse API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/pixverse Pixverse on the Creatify API: 2 models for text to video and image to video, with credit prices, input parameters and request examples. 2 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Pixverse V5 · Text to video](/api-documentation/ai-generation/models/pixverse/pixverse-v5-text-to-video) | `pixverse/v5/text-to-video` | `text_to_video` | From **1.5** credits | | [Pixverse V5 · Image to video](/api-documentation/ai-generation/models/pixverse/pixverse-v5-image-to-video) | `pixverse/v5/image-to-video` | `image_to_video` | From **1.5** credits | # Pixverse V5 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/pixverse/pixverse-v5-image-to-video Anime and comic-style rendering with clean outlines and lively poses [← Pixverse](/api-documentation/ai-generation/models/pixverse) **Model name:** `pixverse/v5/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 360p | 540p | 720p | 1080p | | - | - | - | - | - | | 5s | **1.5** | **1.5** | **2.0** | **4.0** | | 8s | **2.5** | **2.5** | **3.5** | — | — means the combination isn't accepted by this model. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "pixverse/v5/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "pixverse/v5/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the image to use as the first frame **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same video every time. **style** `string` The style of the generated video Allowed values: `"anime"`, `"3d_animation"`, `"clay"`, `"comic"`, `"cyberpunk"`. **duration** `string` (default: 5) The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds Allowed values: `"5"`, `"8"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"360p"`, `"540p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **negative\_prompt** `string` Negative prompt to be used for the generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "duration": { > "enum": [ > "5" > ] > } > }, > "errorMessage": { > "properties": { > "duration": "8 second videos are not supported for 1080p resolution" > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same video every time.", > "x-advance-settings": true > }, > "style": { > "enum": [ > "anime", > "3d_animation", > "clay", > "comic", > "cyberpunk" > ], > "type": "string", > "title": "Style", > "description": "The style of the generated video", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > "5", > "8" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "max_width": 4000, > "min_width": 300, > "x-ui-name": "start_image", > "max_height": 4000, > "min_height": 300, > "description": "URL of the image to use as the first frame", > "max_file_size": 10485760 > }, > "resolution": { > "enum": [ > "360p", > "540p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "", > "description": "Negative prompt to be used for the generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Pixverse V5 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/pixverse/pixverse-v5-text-to-video Anime and comic-style rendering with clean outlines and lively poses [← Pixverse](/api-documentation/ai-generation/models/pixverse) **Model name:** `pixverse/v5/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 360p | 540p | 720p | 1080p | | - | - | - | - | - | | 5s | **1.5** | **1.5** | **2.0** | **4.0** | | 8s | **2.5** | **2.5** | **3.5** | — | — means the combination isn't accepted by this model. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "pixverse/v5/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "pixverse/v5/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same video every time. **style** `string` The style of the generated video Allowed values: `"anime"`, `"3d_animation"`, `"clay"`, `"comic"`, `"cyberpunk"`. **duration** `string` (default: 5) The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds Allowed values: `"5"`, `"8"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"360p"`, `"540p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **negative\_prompt** `string` Negative prompt to be used for the generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "duration": { > "enum": [ > "5" > ] > } > }, > "errorMessage": { > "properties": { > "duration": "8 second videos are not supported for 1080p resolution" > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same video every time.", > "x-advance-settings": true > }, > "style": { > "enum": [ > "anime", > "3d_animation", > "clay", > "comic", > "cyberpunk" > ], > "type": "string", > "title": "Style", > "description": "The style of the generated video", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "duration": { > "enum": [ > "5", > "8" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds" > }, > "resolution": { > "enum": [ > "360p", > "540p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "default": "", > "description": "Negative prompt to be used for the generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Quick Editing API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/quick-editing Quick Editing on the Creatify API: 1 model for image to image, with credit prices, input parameters and request examples. 1 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Upscale image · Image to image](/api-documentation/ai-generation/models/quick-editing/flux-vision-upscaler) | `flux-vision-upscaler` | `image_to_image` | **1.0** credits | # Upscale image Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/quick-editing/flux-vision-upscaler AI-powered image upscaling with up to 4x resolution enhancement. [← Quick Editing](/api-documentation/ai-generation/models/quick-editing) **Model name:** `flux-vision-upscaler`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **1.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "flux-vision-upscaler", "input_params": { "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "flux-vision-upscaler", "input_params": { "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **image\_url** `string` *required* The URL of the image to upscale. **seed** `object` The seed to use for the upscale. If not provided, a random seed will be used. **steps** `integer` (default: 20) Number of inference steps (4-50). Minimum: `4`. Maximum: `50`. **guidance** `number` (default: 1) CFG/guidance scale (1-4). Controls how closely the model follows the prompt. Minimum: `1`. Maximum: `4`. **creativity** `number` (default: 0.3) The creativity of the model. The higher the creativity, the more the model will deviate from the original. Refers to the denoise strength of the sampling. Minimum: `0`. Maximum: `1`. **upscale\_factor** `number` (default: 2) The upscale factor (1-4x). Minimum: `1`. Maximum: `4`. **enable\_safety\_checker** `boolean` (default: true) Whether to enable the safety checker. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "image_url" > ], > "properties": { > "seed": { > "title": "Seed", > "description": "The seed to use for the upscale. If not provided, a random seed will be used.", > "x-advance-settings": true > }, > "steps": { > "type": "integer", > "title": "Steps", > "default": 20, > "maximum": 50, > "minimum": 4, > "description": "Number of inference steps (4-50)." > }, > "guidance": { > "type": "number", > "title": "Guidance", > "default": 1, > "maximum": 4, > "minimum": 1, > "description": "CFG/guidance scale (1-4). Controls how closely the model follows the prompt." > }, > "image_url": { > "type": "string", > "title": "Image Url", > "description": "The URL of the image to upscale." > }, > "creativity": { > "type": "number", > "title": "Creativity", > "default": 0.3, > "maximum": 1, > "minimum": 0, > "description": "The creativity of the model. The higher the creativity, the more the model will deviate from the original. Refers to the denoise strength of the sampling." > }, > "upscale_factor": { > "type": "number", > "title": "Upscale Factor", > "default": 2, > "maximum": 4, > "minimum": 1, > "description": "The upscale factor (1-4x)." > }, > "enable_safety_checker": { > "type": "boolean", > "title": "Enable Safety Checker", > "default": true, > "description": "Whether to enable the safety checker." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Recraft API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/recraft Recraft on the Creatify API: 2 models for text to image and image to image, with credit prices, input parameters and request examples. 2 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Recraft v3 · Text to image](/api-documentation/ai-generation/models/recraft/recraft-v3-text-to-image) | `recraft/v3/text-to-image` | `text_to_image` | **0.5** credits | | [Recraft v3 · Image to image](/api-documentation/ai-generation/models/recraft/recraft-v3-image-to-image) | `recraft/v3/image-to-image` | `image_to_image` | **0.5** credits | # Recraft v3 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/recraft/recraft-v3-image-to-image Clean SVG-level vector graphics. [← Recraft](/api-documentation/ai-generation/models/recraft) **Model name:** `recraft/v3/image-to-image`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "recraft/v3/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "recraft/v3/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `1000`. **image\_url** `string` *required* The URL of the image to modify. Must be less than 5 MB in size, have resolution less than 16 MP and max dimension less than 4096 pixels. **style** `string` (default: realistic\_image) The style of the generated images. Vector images cost 2X as much. Allowed values: `"any"`, `"realistic_image"`, `"digital_illustration"`, `"vector_illustration"`, `"realistic_image/b_and_w"`, `"realistic_image/hard_flash"`, `"realistic_image/hdr"`, `"realistic_image/natural_light"`, `"realistic_image/studio_portrait"`, `"realistic_image/enterprise"`, `"realistic_image/motion_blur"`, `"realistic_image/evening_light"`, `"realistic_image/faded_nostalgia"`, `"realistic_image/forest_life"`, `"realistic_image/mystic_naturalism"`, `"realistic_image/natural_tones"`, `"realistic_image/organic_calm"`, `"realistic_image/real_life_glow"`, `"realistic_image/retro_realism"`, `"realistic_image/retro_snapshot"`, `"realistic_image/urban_drama"`, `"realistic_image/village_realism"`, `"realistic_image/warm_folk"`, `"digital_illustration/pixel_art"`, `"digital_illustration/hand_drawn"`, `"digital_illustration/grain"`, `"digital_illustration/infantile_sketch"`, `"digital_illustration/2d_art_poster"`, `"digital_illustration/handmade_3d"`, `"digital_illustration/hand_drawn_outline"`, `"digital_illustration/engraving_color"`, `"digital_illustration/2d_art_poster_2"`, `"digital_illustration/antiquarian"`, `"digital_illustration/bold_fantasy"`, `"digital_illustration/child_book"`, `"digital_illustration/child_books"`, `"digital_illustration/cover"`, `"digital_illustration/crosshatch"`, `"digital_illustration/digital_engraving"`, `"digital_illustration/expressionism"`, `"digital_illustration/freehand_details"`, `"digital_illustration/grain_20"`, `"digital_illustration/graphic_intensity"`, `"digital_illustration/hard_comics"`, `"digital_illustration/long_shadow"`, `"digital_illustration/modern_folk"`, `"digital_illustration/multicolor"`, `"digital_illustration/neon_calm"`, `"digital_illustration/noir"`, `"digital_illustration/nostalgic_pastel"`, `"digital_illustration/outline_details"`, `"digital_illustration/pastel_gradient"`, `"digital_illustration/pastel_sketch"`, `"digital_illustration/pop_art"`, `"digital_illustration/pop_renaissance"`, `"digital_illustration/street_art"`, `"digital_illustration/tablet_sketch"`, `"digital_illustration/urban_glow"`, `"digital_illustration/urban_sketching"`, `"digital_illustration/vanilla_dreams"`, `"digital_illustration/young_adult_book"`, `"digital_illustration/young_adult_book_2"`, `"vector_illustration/bold_stroke"`, `"vector_illustration/chemistry"`, `"vector_illustration/colored_stencil"`, `"vector_illustration/contour_pop_art"`, `"vector_illustration/cosmics"`, `"vector_illustration/cutout"`, `"vector_illustration/depressive"`, `"vector_illustration/editorial"`, `"vector_illustration/emotional_flat"`, `"vector_illustration/infographical"`, `"vector_illustration/marker_outline"`, `"vector_illustration/mosaic"`, `"vector_illustration/naivector"`, `"vector_illustration/roundish_flat"`, `"vector_illustration/segmented_colors"`, `"vector_illustration/sharp_contrast"`, `"vector_illustration/thin"`, `"vector_illustration/vector_photo"`, `"vector_illustration/vivid_shapes"`, `"vector_illustration/engraving"`, `"vector_illustration/line_art"`, `"vector_illustration/line_circuit"`, `"vector_illustration/linocut"`. **strength** `number` (default: 0.5) Defines the difference with the original image, should lie in \[0, 1], where 0 means almost identical, and 1 means miserable similarity Minimum: `0`. Maximum: `1`. Multiple of: `0.1`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `1`. **negative\_prompt** `string` A text description of undesired elements on an image Maximum characters: `1000`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "style": { > "enum": [ > "any", > "realistic_image", > "digital_illustration", > "vector_illustration", > "realistic_image/b_and_w", > "realistic_image/hard_flash", > "realistic_image/hdr", > "realistic_image/natural_light", > "realistic_image/studio_portrait", > "realistic_image/enterprise", > "realistic_image/motion_blur", > "realistic_image/evening_light", > "realistic_image/faded_nostalgia", > "realistic_image/forest_life", > "realistic_image/mystic_naturalism", > "realistic_image/natural_tones", > "realistic_image/organic_calm", > "realistic_image/real_life_glow", > "realistic_image/retro_realism", > "realistic_image/retro_snapshot", > "realistic_image/urban_drama", > "realistic_image/village_realism", > "realistic_image/warm_folk", > "digital_illustration/pixel_art", > "digital_illustration/hand_drawn", > "digital_illustration/grain", > "digital_illustration/infantile_sketch", > "digital_illustration/2d_art_poster", > "digital_illustration/handmade_3d", > "digital_illustration/hand_drawn_outline", > "digital_illustration/engraving_color", > "digital_illustration/2d_art_poster_2", > "digital_illustration/antiquarian", > "digital_illustration/bold_fantasy", > "digital_illustration/child_book", > "digital_illustration/child_books", > "digital_illustration/cover", > "digital_illustration/crosshatch", > "digital_illustration/digital_engraving", > "digital_illustration/expressionism", > "digital_illustration/freehand_details", > "digital_illustration/grain_20", > "digital_illustration/graphic_intensity", > "digital_illustration/hard_comics", > "digital_illustration/long_shadow", > "digital_illustration/modern_folk", > "digital_illustration/multicolor", > "digital_illustration/neon_calm", > "digital_illustration/noir", > "digital_illustration/nostalgic_pastel", > "digital_illustration/outline_details", > "digital_illustration/pastel_gradient", > "digital_illustration/pastel_sketch", > "digital_illustration/pop_art", > "digital_illustration/pop_renaissance", > "digital_illustration/street_art", > "digital_illustration/tablet_sketch", > "digital_illustration/urban_glow", > "digital_illustration/urban_sketching", > "digital_illustration/vanilla_dreams", > "digital_illustration/young_adult_book", > "digital_illustration/young_adult_book_2", > "vector_illustration/bold_stroke", > "vector_illustration/chemistry", > "vector_illustration/colored_stencil", > "vector_illustration/contour_pop_art", > "vector_illustration/cosmics", > "vector_illustration/cutout", > "vector_illustration/depressive", > "vector_illustration/editorial", > "vector_illustration/emotional_flat", > "vector_illustration/infographical", > "vector_illustration/marker_outline", > "vector_illustration/mosaic", > "vector_illustration/naivector", > "vector_illustration/roundish_flat", > "vector_illustration/segmented_colors", > "vector_illustration/sharp_contrast", > "vector_illustration/thin", > "vector_illustration/vector_photo", > "vector_illustration/vivid_shapes", > "vector_illustration/engraving", > "vector_illustration/line_art", > "vector_illustration/line_circuit", > "vector_illustration/linocut" > ], > "type": "string", > "title": "Style", > "default": "realistic_image", > "description": "The style of the generated images. Vector images cost 2X as much.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 1000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "strength": { > "type": "number", > "title": "Strength", > "default": 0.5, > "maximum": 1, > "minimum": 0, > "multipleOf": 0.1, > "description": "Defines the difference with the original image, should lie in [0, 1], where 0 means almost identical, and 1 means miserable similarity", > "x-advance-settings": true > }, > "image_url": { > "type": "string", > "title": "Image Url", > "max_width": 4000, > "min_width": 300, > "max_height": 4000, > "min_height": 300, > "description": "The URL of the image to modify. Must be less than 5 MB in size, have resolution less than 16 MP and max dimension less than 4096 pixels.", > "max_file_size": 5242880 > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 1, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "maxLength": 1000, > "description": "A text description of undesired elements on an image", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Recraft v3 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/recraft/recraft-v3-text-to-image Clean SVG-level vector graphics. [← Recraft](/api-documentation/ai-generation/models/recraft) **Model name:** `recraft/v3/text-to-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "recraft/v3/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "recraft/v3/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The prompt to generate an image from. Minimum characters: `1`. Maximum characters: `1000`. **style** `string` (default: realistic\_image) The style of the generated images. Vector images cost 2X as much. Allowed values: `"any"`, `"realistic_image"`, `"digital_illustration"`, `"vector_illustration"`, `"realistic_image/b_and_w"`, `"realistic_image/hard_flash"`, `"realistic_image/hdr"`, `"realistic_image/natural_light"`, `"realistic_image/studio_portrait"`, `"realistic_image/enterprise"`, `"realistic_image/motion_blur"`, `"realistic_image/evening_light"`, `"realistic_image/faded_nostalgia"`, `"realistic_image/forest_life"`, `"realistic_image/mystic_naturalism"`, `"realistic_image/natural_tones"`, `"realistic_image/organic_calm"`, `"realistic_image/real_life_glow"`, `"realistic_image/retro_realism"`, `"realistic_image/retro_snapshot"`, `"realistic_image/urban_drama"`, `"realistic_image/village_realism"`, `"realistic_image/warm_folk"`, `"digital_illustration/pixel_art"`, `"digital_illustration/hand_drawn"`, `"digital_illustration/grain"`, `"digital_illustration/infantile_sketch"`, `"digital_illustration/2d_art_poster"`, `"digital_illustration/handmade_3d"`, `"digital_illustration/hand_drawn_outline"`, `"digital_illustration/engraving_color"`, `"digital_illustration/2d_art_poster_2"`, `"digital_illustration/antiquarian"`, `"digital_illustration/bold_fantasy"`, `"digital_illustration/child_book"`, `"digital_illustration/child_books"`, `"digital_illustration/cover"`, `"digital_illustration/crosshatch"`, `"digital_illustration/digital_engraving"`, `"digital_illustration/expressionism"`, `"digital_illustration/freehand_details"`, `"digital_illustration/grain_20"`, `"digital_illustration/graphic_intensity"`, `"digital_illustration/hard_comics"`, `"digital_illustration/long_shadow"`, `"digital_illustration/modern_folk"`, `"digital_illustration/multicolor"`, `"digital_illustration/neon_calm"`, `"digital_illustration/noir"`, `"digital_illustration/nostalgic_pastel"`, `"digital_illustration/outline_details"`, `"digital_illustration/pastel_gradient"`, `"digital_illustration/pastel_sketch"`, `"digital_illustration/pop_art"`, `"digital_illustration/pop_renaissance"`, `"digital_illustration/street_art"`, `"digital_illustration/tablet_sketch"`, `"digital_illustration/urban_glow"`, `"digital_illustration/urban_sketching"`, `"digital_illustration/vanilla_dreams"`, `"digital_illustration/young_adult_book"`, `"digital_illustration/young_adult_book_2"`, `"vector_illustration/bold_stroke"`, `"vector_illustration/chemistry"`, `"vector_illustration/colored_stencil"`, `"vector_illustration/contour_pop_art"`, `"vector_illustration/cosmics"`, `"vector_illustration/cutout"`, `"vector_illustration/depressive"`, `"vector_illustration/editorial"`, `"vector_illustration/emotional_flat"`, `"vector_illustration/infographical"`, `"vector_illustration/marker_outline"`, `"vector_illustration/mosaic"`, `"vector_illustration/naivector"`, `"vector_illustration/roundish_flat"`, `"vector_illustration/segmented_colors"`, `"vector_illustration/sharp_contrast"`, `"vector_illustration/thin"`, `"vector_illustration/vector_photo"`, `"vector_illustration/vivid_shapes"`, `"vector_illustration/engraving"`, `"vector_illustration/line_art"`, `"vector_illustration/line_circuit"`, `"vector_illustration/linocut"`. **image\_size** `string` (default: square\_hd) Image Size Allowed values: `"square_hd"`, `"square"`, `"portrait_4_3"`, `"portrait_16_9"`, `"landscape_4_3"`, `"landscape_16_9"`. **num\_images** `integer` (default: 1) The number of images to generate. Minimum: `1`. Maximum: `1`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "style": { > "enum": [ > "any", > "realistic_image", > "digital_illustration", > "vector_illustration", > "realistic_image/b_and_w", > "realistic_image/hard_flash", > "realistic_image/hdr", > "realistic_image/natural_light", > "realistic_image/studio_portrait", > "realistic_image/enterprise", > "realistic_image/motion_blur", > "realistic_image/evening_light", > "realistic_image/faded_nostalgia", > "realistic_image/forest_life", > "realistic_image/mystic_naturalism", > "realistic_image/natural_tones", > "realistic_image/organic_calm", > "realistic_image/real_life_glow", > "realistic_image/retro_realism", > "realistic_image/retro_snapshot", > "realistic_image/urban_drama", > "realistic_image/village_realism", > "realistic_image/warm_folk", > "digital_illustration/pixel_art", > "digital_illustration/hand_drawn", > "digital_illustration/grain", > "digital_illustration/infantile_sketch", > "digital_illustration/2d_art_poster", > "digital_illustration/handmade_3d", > "digital_illustration/hand_drawn_outline", > "digital_illustration/engraving_color", > "digital_illustration/2d_art_poster_2", > "digital_illustration/antiquarian", > "digital_illustration/bold_fantasy", > "digital_illustration/child_book", > "digital_illustration/child_books", > "digital_illustration/cover", > "digital_illustration/crosshatch", > "digital_illustration/digital_engraving", > "digital_illustration/expressionism", > "digital_illustration/freehand_details", > "digital_illustration/grain_20", > "digital_illustration/graphic_intensity", > "digital_illustration/hard_comics", > "digital_illustration/long_shadow", > "digital_illustration/modern_folk", > "digital_illustration/multicolor", > "digital_illustration/neon_calm", > "digital_illustration/noir", > "digital_illustration/nostalgic_pastel", > "digital_illustration/outline_details", > "digital_illustration/pastel_gradient", > "digital_illustration/pastel_sketch", > "digital_illustration/pop_art", > "digital_illustration/pop_renaissance", > "digital_illustration/street_art", > "digital_illustration/tablet_sketch", > "digital_illustration/urban_glow", > "digital_illustration/urban_sketching", > "digital_illustration/vanilla_dreams", > "digital_illustration/young_adult_book", > "digital_illustration/young_adult_book_2", > "vector_illustration/bold_stroke", > "vector_illustration/chemistry", > "vector_illustration/colored_stencil", > "vector_illustration/contour_pop_art", > "vector_illustration/cosmics", > "vector_illustration/cutout", > "vector_illustration/depressive", > "vector_illustration/editorial", > "vector_illustration/emotional_flat", > "vector_illustration/infographical", > "vector_illustration/marker_outline", > "vector_illustration/mosaic", > "vector_illustration/naivector", > "vector_illustration/roundish_flat", > "vector_illustration/segmented_colors", > "vector_illustration/sharp_contrast", > "vector_illustration/thin", > "vector_illustration/vector_photo", > "vector_illustration/vivid_shapes", > "vector_illustration/engraving", > "vector_illustration/line_art", > "vector_illustration/line_circuit", > "vector_illustration/linocut" > ], > "type": "string", > "title": "Style", > "default": "realistic_image", > "description": "The style of the generated images. Vector images cost 2X as much.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 1000, > "minLength": 1, > "description": "The prompt to generate an image from." > }, > "image_size": { > "enum": [ > "square_hd", > "square", > "portrait_4_3", > "portrait_16_9", > "landscape_4_3", > "landscape_16_9" > ], > "type": "string", > "title": "Image Size", > "default": "square_hd", > "x-ui-name": "aspect_ratio" > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 1, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "The number of images to generate." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance Seedance on the Creatify API: 14 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 14 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Seedance 2.5 · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-text-to-video) | `bytedance/seedance-2.5/text-to-video` | `text_to_video` | From **4.25** credits | | [Seedance 2.0 Mini · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-text-to-video) | `bytedance/seedance-2.0/mini/text-to-video` | `text_to_video` | From **1.5** credits | | [Seedance 2.0 Fast · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-text-to-video) | `bytedance/seedance-2.0/fast/text-to-video` | `text_to_video` | From **2.25** credits | | [Seedance 2.0 · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-text-to-video) | `bytedance/seedance-2.0/text-to-video` | `text_to_video` | From **2.75** credits | | [Seedance 1.5 Pro · Text to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-text-to-video) | `bytedance/seedance/v1.5/pro/text-to-video` | `text_to_video` | From **0.5** credits | | [Seedance 2.5 · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-image-to-video) | `bytedance/seedance-2.5/image-to-video` | `image_to_video` | From **4.25** credits | | [Seedance 2.0 Mini · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-image-to-video) | `bytedance/seedance-2.0/mini/image-to-video` | `image_to_video` | From **1.5** credits | | [Seedance 2.0 Fast · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-image-to-video) | `bytedance/seedance-2.0/fast/image-to-video` | `image_to_video` | From **2.25** credits | | [Seedance 2.0 · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-image-to-video) | `bytedance/seedance-2.0/image-to-video` | `image_to_video` | From **2.75** credits | | [Seedance 1.5 Pro · Image to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-image-to-video) | `bytedance/seedance/v1.5/pro/image-to-video` | `image_to_video` | From **0.5** credits | | [Seedance 2.5 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-reference-to-video) | `bytedance/seedance-2.5/reference-to-video` | `video_to_video` | From **4.25** credits | | [Seedance 2.0 Mini (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-reference-to-video) | `bytedance/seedance-2.0/mini/reference-to-video` | `video_to_video` | From **1.5** credits | | [Seedance 2.0 Fast (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-reference-to-video) | `bytedance/seedance-2.0/fast/reference-to-video` | `video_to_video` | From **2.25** credits | | [Seedance 2.0 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-reference-to-video) | `bytedance/seedance-2.0/reference-to-video` | `video_to_video` | From **2.75** credits | # Seedance 2.0 Fast Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-image-to-video Fast version of Seedance 2.0 image-to-video with quicker generation times, supporting up to 15s video with end frame control and synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/fast/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **2.25** | **5** | | 5s | **2.75** | **6.25** | | 6s | **3.25** | **7.5** | | 7s | **4** | **8.5** | | 8s | **4.5** | **9.75** | | 9s | **5** | **11** | | 10s | **5.5** | **12.25** | | 11s | **6** | **13.5** | | 12s | **6.5** | **14.75** | | 13s | **7** | **15.75** | | 14s | **7.75** | **17** | | 15s | **8.25** | **18.25** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/fast/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/fast/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **image\_url** `string` *required* The URL of the image used as the first frame **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **end\_image\_url** `string` The URL of the image used as the last frame **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "description": "The URL of the image used as the first frame", > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_file_size": 31457280 > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "description": "The URL of the image used as the last frame", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Fast (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-reference-to-video Fast version of Seedance 2.0 reference-to-video with quicker generation from reference images, videos, and audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/fast/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **2.25** | **5** | | 5s | **2.75** | **6.25** | | 6s | **3.25** | **7.5** | | 7s | **4** | **8.5** | | 8s | **4.5** | **9.75** | | 9s | **5** | **11** | | 10s | **5.5** | **12.25** | | 11s | **6** | **13.5** | | 12s | **6.5** | **14.75** | | 13s | **7** | **15.75** | | 14s | **7.75** | **17** | | 15s | **8.25** | **18.25** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/fast/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/fast/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution - 480p for faster generation, 720p for balance Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **image\_urls** `string[]` Up to 9 reference images (JPEG, PNG, WebP, max 30MB each). Maximum items: `9`. **video\_urls** `string[]` Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total). Maximum items: `3`. **audio\_urls** `string[]` Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference. Maximum items: `3`. **generate\_audio** `boolean` (default: true) Whether to generate synchronized audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "description": "The text prompt used to generate the video", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution - 480p for faster generation, 720p for balance", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 30MB. Supported formats: JPEG, PNG, WebP." > }, > "title": "Reference Images", > "maxItems": 9, > "description": "Up to 9 reference images (JPEG, PNG, WebP, max 30MB each).", > "max_file_size": 31457280, > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max total size: 50MB. Duration: 2-15s combined. Supported formats: MP4, MOV. Resolution: 480p-720p." > }, > "title": "Reference Videos", > "maxItems": 3, > "description": "Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total).", > "max_file_size": 52428800, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "min_pixels": 409600, > "max_aspect_ratio": 2.5 > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 15MB. Duration: max 15s combined. Supported formats: MP3, WAV." > }, > "title": "Reference Audio", > "maxItems": 3, > "description": "Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate synchronized audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Fast Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-fast-text-to-video Fast version of Seedance 2.0 with quicker generation times, supporting up to 15s video with synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/fast/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **2.25** | **5** | | 5s | **2.75** | **6.25** | | 6s | **3.25** | **7.5** | | 7s | **4** | **8.5** | | 8s | **4.5** | **9.75** | | 9s | **5** | **11** | | 10s | **5.5** | **12.25** | | 11s | **6** | **13.5** | | 12s | **6.5** | **14.75** | | 13s | **7** | **15.75** | | 14s | **7.75** | **17** | | 15s | **8.25** | **18.25** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/fast/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/fast/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-image-to-video ByteDance's latest image-to-video model with improved motion quality, longer duration support up to 15s, end frame control, and synchronized audio generation. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | 4k | | - | - | - | - | - | | 4s | **2.75** | **6.25** | **13.75** | **31.25** | | 5s | **3.5** | **7.75** | **17.25** | **39** | | 6s | **4.25** | **9.25** | **20.5** | **47** | | 7s | **4.75** | **10.75** | **24** | **54.75** | | 8s | **5.5** | **12.25** | **27.5** | **62.5** | | 9s | **6.25** | **13.75** | **30.75** | **70.25** | | 10s | **6.75** | **15.25** | **34.25** | **78** | | 11s | **7.5** | **16.75** | **37.75** | **86** | | 12s | **8.25** | **18.25** | **41** | **93.75** | | 13s | **9** | **19.75** | **44.5** | **101.5** | | 14s | **9.5** | **21.25** | **47.75** | **109.25** | | 15s | **10.25** | **23** | **51.25** | **117** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **image\_url** `string` *required* The URL of the image used as the first frame **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`, `"4k"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **end\_image\_url** `string` The URL of the image used as the last frame **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "description": "The URL of the image used as the first frame", > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_file_size": 31457280 > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "description": "The URL of the image used as the last frame", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Mini Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-image-to-video Mini version of Seedance 2.0 image-to-video with quick generation times, supporting up to 15s video with end frame control and synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/mini/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **1.5** | **3.25** | | 5s | **2** | **4** | | 6s | **2.25** | **4.75** | | 7s | **2.75** | **5.5** | | 8s | **3** | **6.25** | | 9s | **3.25** | **7** | | 10s | **3.75** | **7.75** | | 11s | **4** | **8.75** | | 12s | **4.5** | **9.5** | | 13s | **4.75** | **10.25** | | 14s | **5.25** | **11** | | 15s | **5.5** | **11.75** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/mini/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/mini/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **image\_url** `string` *required* The URL of the image used as the first frame **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **end\_image\_url** `string` The URL of the image used as the last frame **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "description": "The URL of the image used as the first frame", > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_file_size": 31457280 > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "description": "The URL of the image used as the last frame", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Mini (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-reference-to-video Mini version of Seedance 2.0 reference-to-video with quick generation from reference images, videos, and audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/mini/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **1.5** | **3.25** | | 5s | **2** | **4** | | 6s | **2.25** | **4.75** | | 7s | **2.75** | **5.5** | | 8s | **3** | **6.25** | | 9s | **3.25** | **7** | | 10s | **3.75** | **7.75** | | 11s | **4** | **8.75** | | 12s | **4.5** | **9.5** | | 13s | **4.75** | **10.25** | | 14s | **5.25** | **11** | | 15s | **5.5** | **11.75** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/mini/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/mini/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution - 480p for faster generation, 720p for balance Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **image\_urls** `string[]` Up to 9 reference images (JPEG, PNG, WebP, max 30MB each). Maximum items: `9`. **video\_urls** `string[]` Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total). Maximum items: `3`. **audio\_urls** `string[]` Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference. Maximum items: `3`. **generate\_audio** `boolean` (default: true) Whether to generate synchronized audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "description": "The text prompt used to generate the video", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution - 480p for faster generation, 720p for balance", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 30MB. Supported formats: JPEG, PNG, WebP." > }, > "title": "Reference Images", > "maxItems": 9, > "description": "Up to 9 reference images (JPEG, PNG, WebP, max 30MB each).", > "max_file_size": 31457280, > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max total size: 50MB. Duration: 2-15s combined. Supported formats: MP4, MOV. Resolution: 480p-720p." > }, > "title": "Reference Videos", > "maxItems": 3, > "description": "Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total).", > "max_file_size": 52428800, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "min_pixels": 409600, > "max_aspect_ratio": 2.5 > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 15MB. Duration: max 15s combined. Supported formats: MP3, WAV." > }, > "title": "Reference Audio", > "maxItems": 3, > "description": "Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate synchronized audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Mini Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-mini-text-to-video Mini version of Seedance 2.0 with quick generation times, supporting up to 15s video with synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/mini/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | | - | - | - | | 4s | **1.5** | **3.25** | | 5s | **2** | **4** | | 6s | **2.25** | **4.75** | | 7s | **2.75** | **5.5** | | 8s | **3** | **6.25** | | 9s | **3.25** | **7** | | 10s | **3.75** | **7.75** | | 11s | **4** | **8.75** | | 12s | **4.5** | **9.5** | | 13s | **4.75** | **10.25** | | 14s | **5.25** | **11** | | 15s | **5.5** | **11.75** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/mini/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/mini/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-reference-to-video Seedance 2.0 reference-to-video generates video from reference images, videos, and audio with improved motion quality and synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | 4k | | - | - | - | - | - | | 4s | **2.75** | **6.25** | **13.75** | **31.25** | | 5s | **3.5** | **7.75** | **17.25** | **39** | | 6s | **4.25** | **9.25** | **20.5** | **47** | | 7s | **4.75** | **10.75** | **24** | **54.75** | | 8s | **5.5** | **12.25** | **27.5** | **62.5** | | 9s | **6.25** | **13.75** | **30.75** | **70.25** | | 10s | **6.75** | **15.25** | **34.25** | **78** | | 11s | **7.5** | **16.75** | **37.75** | **86** | | 12s | **8.25** | **18.25** | **41** | **93.75** | | 13s | **9** | **19.75** | **44.5** | **101.5** | | 14s | **9.5** | **21.25** | **47.75** | **109.25** | | 15s | **10.25** | **23** | **51.25** | **117** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution - 480p for faster generation, 720p for balance Allowed values: `"480p"`, `"720p"`, `"1080p"`, `"4k"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **image\_urls** `string[]` Up to 9 reference images (JPEG, PNG, WebP, max 30MB each). Maximum items: `9`. **video\_urls** `string[]` Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total). Maximum items: `3`. **audio\_urls** `string[]` Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference. Maximum items: `3`. **generate\_audio** `boolean` (default: true) Whether to generate synchronized audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "description": "The text prompt used to generate the video", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution - 480p for faster generation, 720p for balance", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 30MB. Supported formats: JPEG, PNG, WebP." > }, > "title": "Reference Images", > "maxItems": 9, > "description": "Up to 9 reference images (JPEG, PNG, WebP, max 30MB each).", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_pixels": 36000000, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max total size: 50MB. Duration: 2-15s combined. Supported formats: MP4, MOV. Resolution: 480p-720p." > }, > "title": "Reference Videos", > "maxItems": 3, > "description": "Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total).", > "max_file_size": 52428800, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15, > "min_pixels": 409600, > "max_aspect_ratio": 2.5 > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 15MB. Duration: max 15s combined. Supported formats: MP3, WAV." > }, > "title": "Reference Audio", > "maxItems": 3, > "description": "Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 2, > "max_duration": 15, > "max_total_duration": 15 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate synchronized audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.0 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-0-text-to-video ByteDance's latest video generation model with improved motion quality, longer duration support up to 15s, and synchronized audio generation. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.0/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | 4k | | - | - | - | - | - | | 4s | **2.75** | **6.25** | **13.75** | **31.25** | | 5s | **3.5** | **7.75** | **17.25** | **39** | | 6s | **4.25** | **9.25** | **20.5** | **47** | | 7s | **4.75** | **10.75** | **24** | **54.75** | | 8s | **5.5** | **12.25** | **27.5** | **62.5** | | 9s | **6.25** | **13.75** | **30.75** | **70.25** | | 10s | **6.75** | **15.25** | **34.25** | **78** | | 11s | **7.5** | **16.75** | **37.75** | **86** | | 12s | **8.25** | **18.25** | **41** | **93.75** | | 13s | **9** | **19.75** | **44.5** | **101.5** | | 14s | **9.5** | **21.25** | **47.75** | **109.25** | | 15s | **10.25** | **23** | **51.25** | **117** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.0/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.0/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`, `"4k"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p", > "4k" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.5 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-image-to-video ByteDance Seedance 2.5 image-to-video model with improved motion quality, longer duration support up to 30s, end frame control, and synchronized audio generation. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.5/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | | - | - | - | - | | 4s | **4.25** | **9.25** | **20.5** | | 5s | **5.25** | **11.5** | **25.75** | | 6s | **6.25** | **13.75** | **30.75** | | 7s | **7.25** | **16.0** | **36.0** | | 8s | **8.25** | **18.25** | **41.0** | | 9s | **9.25** | **20.5** | **46.25** | | 10s | **10.25** | **22.75** | **51.25** | | 11s | **11.25** | **25.25** | **56.5** | | 12s | **12.25** | **27.5** | **61.5** | | 13s | **13.25** | **29.75** | **66.5** | | 14s | **14.25** | **32.0** | **71.75** | | 15s | **15.25** | **34.25** | **76.75** | | 16s | **16.25** | **36.5** | **82.0** | | 17s | **17.5** | **38.75** | **87.0** | | 18s | **18.5** | **41.0** | **92.25** | | 19s | **19.5** | **43.25** | **97.25** | | 20s | **20.5** | **45.5** | **102.5** | | 21s | **21.5** | **48.0** | **107.5** | | 22s | **22.5** | **50.25** | **112.75** | | 23s | **23.5** | **52.5** | **117.75** | | 24s | **24.5** | **54.75** | **123.0** | | 25s | **25.5** | **57.0** | **128.0** | | 26s | **26.5** | **59.25** | **133.0** | | 27s | **27.5** | **61.5** | **138.25** | | 28s | **28.5** | **63.75** | **143.25** | | 29s | **29.5** | **66.0** | **148.5** | | 30s | **30.5** | **68.25** | **153.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.5/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.5/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **image\_url** `string` *required* The URL of the image used as the first frame **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `2147483647`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`. **end\_image\_url** `string` The URL of the image used as the last frame **generate\_audio** `boolean` (default: true) Whether to generate audio for the video **draft** `boolean` (default: false) Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft\_task\_id that renders this same take at 1080p within 7 days. **draft\_task\_id** `string` draft\_task\_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "description": "The URL of the image used as the first frame", > "max_pixels": 36000000, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_file_size": 31457280 > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "description": "The URL of the image used as the last frame", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > }, > "draft": { > "type": "boolean", > "title": "Draft", > "default": false, > "x-is-hidden": true, > "description": "Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft_task_id that renders this same take at 1080p within 7 days." > }, > "draft_task_id": { > "type": "string", > "title": "Draft Task Id", > "x-is-hidden": true, > "description": "draft_task_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.5 (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-reference-to-video Seedance 2.5 reference-to-video generates video from up to 30 reference images, 10 reference videos, and 10 audio files with improved motion quality and synchronized audio. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.5/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | | - | - | - | - | | 4s | **4.25** | **9.25** | **20.5** | | 5s | **5.25** | **11.5** | **25.75** | | 6s | **6.25** | **13.75** | **30.75** | | 7s | **7.25** | **16.0** | **36.0** | | 8s | **8.25** | **18.25** | **41.0** | | 9s | **9.25** | **20.5** | **46.25** | | 10s | **10.25** | **22.75** | **51.25** | | 11s | **11.25** | **25.25** | **56.5** | | 12s | **12.25** | **27.5** | **61.5** | | 13s | **13.25** | **29.75** | **66.5** | | 14s | **14.25** | **32.0** | **71.75** | | 15s | **15.25** | **34.25** | **76.75** | | 16s | **16.25** | **36.5** | **82.0** | | 17s | **17.5** | **38.75** | **87.0** | | 18s | **18.5** | **41.0** | **92.25** | | 19s | **19.5** | **43.25** | **97.25** | | 20s | **20.5** | **45.5** | **102.5** | | 21s | **21.5** | **48.0** | **107.5** | | 22s | **22.5** | **50.25** | **112.75** | | 23s | **23.5** | **52.5** | **117.75** | | 24s | **24.5** | **54.75** | **123.0** | | 25s | **25.5** | **57.0** | **128.0** | | 26s | **26.5** | **59.25** | **133.0** | | 27s | **27.5** | **61.5** | **138.25** | | 28s | **28.5** | **63.75** | **143.25** | | 29s | **29.5** | **66.0** | **148.5** | | 30s | **30.5** | **68.25** | **153.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.5/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.5/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `2147483647`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Video resolution - 480p for faster generation, 720p for balance Allowed values: `"480p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **image\_urls** `string[]` Up to 30 reference images (JPEG, PNG, WebP, max 30MB each). Maximum items: `30`. **video\_urls** `string[]` Up to 10 reference videos (MP4, MOV, 2-30s combined, max 50MB total). Maximum items: `10`. **audio\_urls** `string[]` Up to 10 audio files (MP3, WAV, max 30s combined, 15MB per file). Requires at least one image or video reference. Maximum items: `10`. **generate\_audio** `boolean` (default: true) Whether to generate synchronized audio for the video **draft** `boolean` (default: false) Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft\_task\_id that renders this same take at 1080p within 7 days. **draft\_task\_id** `string` draft\_task\_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "description": "The text prompt used to generate the video", > "x-support-types": [ > "mentions" > ] > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution - 480p for faster generation, 720p for balance", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 30MB. Supported formats: JPEG, PNG, WebP." > }, > "title": "Reference Images", > "maxItems": 30, > "description": "Up to 30 reference images (JPEG, PNG, WebP, max 30MB each).", > "max_file_size": 31457280, > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "max_pixels": 36000000, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max total size: 50MB. Duration: 2-30s combined. Supported formats: MP4, MOV. Resolution: 480p-720p." > }, > "title": "Reference Videos", > "maxItems": 10, > "description": "Up to 10 reference videos (MP4, MOV, 2-30s combined, max 50MB total).", > "max_file_size": 26214400, > "min_duration": 2, > "max_duration": 30, > "max_total_duration": 30, > "min_pixels": 409600, > "max_aspect_ratio": 2.5 > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 15MB. Duration: max 30s combined. Supported formats: MP3, WAV." > }, > "title": "Reference Audio", > "maxItems": 10, > "description": "Up to 10 audio files (MP3, WAV, max 30s combined, 15MB per file). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 2, > "max_duration": 30, > "max_total_duration": 30 > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate synchronized audio for the video", > "x-advance-settings": true > }, > "draft": { > "type": "boolean", > "title": "Draft", > "default": false, > "x-is-hidden": true, > "description": "Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft_task_id that renders this same take at 1080p within 7 days." > }, > "draft_task_id": { > "type": "string", > "title": "Draft Task Id", > "x-is-hidden": true, > "description": "draft_task_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 2.5 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-2-5-text-to-video ByteDance Seedance 2.5 video generation with improved motion quality, longer duration support up to 30s, and synchronized audio generation. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance-2.5/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | | - | - | - | - | | 4s | **4.25** | **9.25** | **20.5** | | 5s | **5.25** | **11.5** | **25.75** | | 6s | **6.25** | **13.75** | **30.75** | | 7s | **7.25** | **16.0** | **36.0** | | 8s | **8.25** | **18.25** | **41.0** | | 9s | **9.25** | **20.5** | **46.25** | | 10s | **10.25** | **22.75** | **51.25** | | 11s | **11.25** | **25.25** | **56.5** | | 12s | **12.25** | **27.5** | **61.5** | | 13s | **13.25** | **29.75** | **66.5** | | 14s | **14.25** | **32.0** | **71.75** | | 15s | **15.25** | **34.25** | **76.75** | | 16s | **16.25** | **36.5** | **82.0** | | 17s | **17.5** | **38.75** | **87.0** | | 18s | **18.5** | **41.0** | **92.25** | | 19s | **19.5** | **43.25** | **97.25** | | 20s | **20.5** | **45.5** | **102.5** | | 21s | **21.5** | **48.0** | **107.5** | | 22s | **22.5** | **50.25** | **112.75** | | 23s | **23.5** | **52.5** | **117.75** | | 24s | **24.5** | **54.75** | **123.0** | | 25s | **25.5** | **57.0** | **128.0** | | 26s | **26.5** | **59.25** | **133.0** | | 27s | **27.5** | **61.5** | **138.25** | | 28s | **28.5** | **63.75** | **143.25** | | 29s | **29.5** | **66.0** | **148.5** | | 30s | **30.5** | **68.25** | **153.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance-2.5/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance-2.5/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `5000`. **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `2147483647`. **duration** `string` (default: auto) Duration of the video in seconds Allowed values: `"auto"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"auto"`, `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video **draft** `boolean` (default: false) Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft\_task\_id that renders this same take at 1080p within 7 days. **draft\_task\_id** `string` draft\_task\_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "auto", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "auto", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > }, > "draft": { > "type": "boolean", > "title": "Draft", > "default": false, > "x-is-hidden": true, > "description": "Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft_task_id that renders this same take at 1080p within 7 days." > }, > "draft_task_id": { > "type": "string", > "title": "Draft Task Id", > "x-is-hidden": true, > "description": "draft_task_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft's duration in seconds. Cannot be combined with draft." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 1.5 Pro Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-image-to-video Fluid, rhythmic human motion with strong musical alignment for dance and performance scenes. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance/v1.5/pro/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | | - | - | - | - | | 4s | **0.5** | **1.25** | **2.5** | | 5s | **0.75** | **1.5** | **3.0** | | 6s | **0.75** | **1.75** | **3.75** | | 7s | **1.0** | **2.0** | **4.25** | | 8s | **1.0** | **2.25** | **4.75** | | 9s | **1.25** | **2.5** | **5.5** | | 10s | **1.25** | **2.75** | **6.0** | | 11s | **1.5** | **3.0** | **6.5** | | 12s | **1.5** | **3.25** | **7.25** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance/v1.5/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance/v1.5/pro/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `2000`. **image\_url** `string` *required* The URL of the image used as the first frame **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: 5) Duration of the video in seconds Allowed values: `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **camera\_fixed** `boolean` (default: false) Whether to fix the camera position **end\_image\_url** `string` The URL of the image used as the last frame **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Duration of the video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image Url", > "x-ui-name": "start_image", > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "description": "The URL of the image used as the first frame" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "camera_fixed": { > "type": "boolean", > "title": "Camera Fixed", > "default": false, > "description": "Whether to fix the camera position" > }, > "end_image_url": { > "type": "string", > "title": "End Image Url", > "x-ui-name": "end_image", > "min_height": 300, > "min_width": 300, > "max_height": 6000, > "max_width": 6000, > "min_aspect_ratio": 0.4, > "max_aspect_ratio": 2.5, > "description": "The URL of the image used as the last frame" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedance 1.5 Pro Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedance/bytedance-seedance-v1-5-pro-text-to-video Fluid, rhythmic human motion with strong musical alignment for dance and performance scenes. [← Seedance](/api-documentation/ai-generation/models/seedance) **Model name:** `bytedance/seedance/v1.5/pro/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480p | 720p | 1080p | | - | - | - | - | | 4s | **0.5** | **1.25** | **2.5** | | 5s | **0.75** | **1.5** | **3.0** | | 6s | **0.75** | **1.75** | **3.75** | | 7s | **1.0** | **2.0** | **4.25** | | 8s | **1.0** | **2.25** | **4.75** | | 9s | **1.25** | **2.5** | **5.5** | | 10s | **1.25** | **2.75** | **6.0** | | 11s | **1.5** | **3.0** | **6.5** | | 12s | **1.5** | **3.25** | **7.25** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedance/v1.5/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedance/v1.5/pro/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt used to generate the video Maximum characters: `2000`. **seed** `integer` Random seed to control video generation. Use -1 for random. Minimum: `-1`. Maximum: `4294967295`. **duration** `string` (default: 5) Duration of the video in seconds Allowed values: `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`. **resolution** `string` (default: 720p) Video resolution Allowed values: `"480p"`, `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"`. **camera\_fixed** `boolean` (default: false) Whether to fix the camera position **generate\_audio** `boolean` (default: true) Whether to generate audio for the video > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 4294967295, > "description": "Random seed to control video generation. Use -1 for random.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "description": "The text prompt used to generate the video" > }, > "duration": { > "enum": [ > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Duration of the video in seconds" > }, > "resolution": { > "enum": [ > "480p", > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "Video resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "21:9", > "16:9", > "4:3", > "1:1", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "camera_fixed": { > "type": "boolean", > "title": "Camera Fixed", > "default": false, > "description": "Whether to fix the camera position" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedream API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedream Seedream on the Creatify API: 3 models for text to image and image to image, with credit prices, input parameters and request examples. 3 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Seedream 5.0 Pro · Text to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-text-to-image) | `bytedance/seedream/v5/pro/text-to-image` | `text_to_image` | From **0.5** credits | | [Seedream 5.0 Pro · Image to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-edit) | `bytedance/seedream/v5/pro/edit` | `image_to_image` | From **0.5** credits | | [Seedream 4.0 · Image to image](/api-documentation/ai-generation/models/seedream/bytedance-seedream-v4-edit) | `bytedance/seedream/v4/edit` | `image_to_image` | **0.5** credits | # Seedream 4.0 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedream/bytedance-seedream-v4-edit Multi-reference & multi-image generation. [← Seedream](/api-documentation/ai-generation/models/seedream) **Model name:** `bytedance/seedream/v4/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedream/v4/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedream/v4/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how to edit the image. Max 5000 characters. Minimum characters: `1`. Maximum characters: `5000`. **seed** `integer` Random seed for reproducibility. If None, a random seed is chosen. Minimum: `-1`. Maximum: `2147483647`. **image\_urls** `string[]` List of URLs of input images for editing. Presently, up to 10 image inputs are allowed. If over 10 images are sent, only the last 10 will be used. Minimum items: `1`. Maximum items: `10`. **num\_images** `integer` (default: 1) Number of images to generate. Values from 1 to 4. Minimum: `1`. Maximum: `6`. **aspect\_ratio** `string` (default: 1:1) The size of the generated image. Width and height must be between 384 and 5000 pixels. Allowed values: `"1:1"`, `"4:3"`, `"16:9"`, `"3:4"`, `"9:16"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed for reproducibility. If None, a random seed is chosen.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 1, > "description": "The text prompt describing how to edit the image. Max 5000 characters." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "description": "List of URLs of input images for editing. Presently, up to 10 image inputs are allowed. If over 10 images are sent, only the last 10 will be used." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 6, > "minimum": 1, > "examples": [ > 1 > ], > "x-ui-name": "output_nums", > "description": "Number of images to generate. Values from 1 to 4." > }, > "aspect_ratio": { > "enum": [ > "1:1", > "4:3", > "16:9", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "x-ui-name": "aspect_ratio", > "description": "The size of the generated image. Width and height must be between 384 and 5000 pixels." > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedream 5.0 Pro Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-edit ByteDance's flagship image model specialized in character consistency, intent understanding, and professional typography with high-fidelity 2K output. [← Seedream](/api-documentation/ai-generation/models/seedream) **Model name:** `bytedance/seedream/v5/pro/edit`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **0.5** | | 2K | **1.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedream/v5/pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedream/v5/pro/edit", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how to edit the image. Max 5000 characters. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` *required* List of URLs of input images for editing. Up to 10 reference images. Per-image limits: aspect ratio (w/h) between 1/16 and 16; width and height > 14px; file size \<= 30MB; total pixels (w\*h) \<= 36,000,000. Minimum items: `1`. Maximum items: `10`. **seed** `integer` Random seed for reproducibility. If None, a random seed is chosen. Minimum: `-1`. Maximum: `2147483647`. **num\_images** `integer` (default: 1) Number of images to generate. Values from 1 to 4. Minimum: `1`. Maximum: `6`. **resolution** `string` (default: 2K) Image resolution Allowed values: `"1K"`, `"2K"`. **aspect\_ratio** `string` (default: 1:1) The size of the generated image. Allowed values: `"1:1"`, `"4:3"`, `"16:9"`, `"3:4"`, `"9:16"`. **output\_format** `string` (default: jpeg) output format of the image generate task Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed for reproducibility. If None, a random seed is chosen.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 1, > "description": "The text prompt describing how to edit the image. Max 5000 characters." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 10, > "minItems": 1, > "max_file_size": 31457280, > "max_pixels": 36000000, > "min_aspect_ratio": 0.0625, > "max_aspect_ratio": 16, > "min_width": 15, > "min_height": 15, > "description": "List of URLs of input images for editing. Up to 10 reference images. Per-image limits: aspect ratio (w/h) between 1/16 and 16; width and height > 14px; file size <= 30MB; total pixels (w*h) <= 36,000,000." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 6, > "minimum": 1, > "examples": [ > 1 > ], > "x-ui-name": "output_nums", > "description": "Number of images to generate. Values from 1 to 4." > }, > "resolution": { > "enum": [ > "1K", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Image resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "1:1", > "4:3", > "16:9", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "x-ui-name": "aspect_ratio", > "description": "The size of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "output format of the image generate task", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Seedream 5.0 Pro Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/seedream/bytedance-seedream-v5-pro-text-to-image ByteDance's flagship image model specialized in character consistency, intent understanding, and professional typography with high-fidelity 2K output. [← Seedream](/api-documentation/ai-generation/models/seedream) **Model name:** `bytedance/seedream/v5/pro/text-to-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 1K | **0.5** | | 2K | **1.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "bytedance/seedream/v5/pro/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "bytedance/seedream/v5/pro/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how to edit the image. Max 5000 characters. Minimum characters: `1`. Maximum characters: `5000`. **seed** `integer` Random seed for reproducibility. If None, a random seed is chosen. Minimum: `-1`. Maximum: `2147483647`. **num\_images** `integer` (default: 1) Number of images to generate. Values from 1 to 4. Minimum: `1`. Maximum: `6`. **resolution** `string` (default: 2K) Image resolution Allowed values: `"1K"`, `"2K"`. **aspect\_ratio** `string` (default: 1:1) The size of the generated image. Allowed values: `"1:1"`, `"4:3"`, `"16:9"`, `"3:4"`, `"9:16"`. **output\_format** `string` (default: jpeg) output format of the image generate task Allowed values: `"jpeg"`, `"png"`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "minimum": -1, > "maximum": 2147483647, > "description": "Random seed for reproducibility. If None, a random seed is chosen.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 5000, > "minLength": 1, > "description": "The text prompt describing how to edit the image. Max 5000 characters." > }, > "num_images": { > "type": "integer", > "title": "Num Images", > "default": 1, > "maximum": 6, > "minimum": 1, > "examples": [ > 1 > ], > "x-ui-name": "output_nums", > "description": "Number of images to generate. Values from 1 to 4." > }, > "resolution": { > "enum": [ > "1K", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Image resolution", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "1:1", > "4:3", > "16:9", > "3:4", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "x-ui-name": "aspect_ratio", > "description": "The size of the generated image." > }, > "output_format": { > "enum": [ > "jpeg", > "png" > ], > "type": "string", > "title": "Output Format", > "default": "jpeg", > "description": "output format of the image generate task", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo Veo on the Creatify API: 12 models for text to video, image to video and video to video, with credit prices, input parameters and request examples. 12 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Veo 3.1 · Text to video](/api-documentation/ai-generation/models/veo/veo3-1) | `veo3.1` | `text_to_video` | From **16.0** credits | | [Veo 3.1 Lite · Text to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-text-to-video) | `veo3.1-lite/text-to-video` | `text_to_video` | From **2.0** credits | | [Veo 3.1 Fast · Text to video](/api-documentation/ai-generation/models/veo/veo3-1-fast) | `veo3.1/fast` | `text_to_video` | From **6.0** credits | | [Veo 3.1 Lite (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-first-last-frame-to-video) | `veo3.1-lite/first-last-frame-to-video` | `image_to_video` | From **2.0** credits | | [Veo 3.1 Lite · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-image-to-video) | `veo3.1-lite/image-to-video` | `image_to_video` | From **2.0** credits | | [Veo 3.1 Fast (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-fast-first-last-frame-to-video) | `veo3.1/fast/first-last-frame-to-video` | `image_to_video` | From **6.0** credits | | [Veo 3.1 Fast · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-fast-image-to-video) | `veo3.1/fast/image-to-video` | `image_to_video` | From **6.0** credits | | [Veo 3.1 (First & Last frame) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-first-last-frame-to-video) | `veo3.1/first-last-frame-to-video` | `image_to_video` | From **16.0** credits | | [Veo 3.1 · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-image-to-video) | `veo3.1/image-to-video` | `image_to_video` | From **16.0** credits | | [Veo 3.1 (Reference to Video) · Image to video](/api-documentation/ai-generation/models/veo/veo3-1-reference-to-video) | `veo3.1/reference-to-video` | `image_to_video` | **32.0** credits | | [Veo 3.1 Lite (Extend Video) · Video to video](/api-documentation/ai-generation/models/veo/veo3-1-lite-extend-video) | `veo3.1-lite/extend-video` | `video_to_video` | From **3.5** credits | | [Veo 3.1 (Extend Video) · Video to video](/api-documentation/ai-generation/models/veo/veo3-1-extend-video) | `veo3.1/extend-video` | `video_to_video` | **28.0** credits | # Veo 3.1 Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1 Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **16.0** | | 6s | **24.0** | | 8s | **32.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **enhance\_prompt** `boolean` (default: true) Whether to enhance the video generation **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ] > } > }, > "errorMessage": { > "properties": { > "aspect_ratio": "1080p with 1:1 aspect ratio is not supported for Veo3. Please select a different aspect ratio or model to continue." > } > } > } > }, > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "duration": { > "const": "8s" > } > }, > "errorMessage": { > "properties": { > "duration": "For 1080p resolution, only 8s duration is supported. Please change the duration or resolution." > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": true, > "description": "Whether to enhance the video generation" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 (Extend Video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-extend-video Extend your videos seamlessly while maintaining perfect consistency and natural flow [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/extend-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **28.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/extend-video", "input_params": { "prompt": "She finishes speaking, leans back and smiles at the camera.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/extend-video", "input_params": { "prompt": "She finishes speaking, leans back and smiles at the camera.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how the video should be extended Minimum characters: `1`. Maximum characters: `2000`. **video\_url** `string` *required* URL of the video to extend. The video should be 720p or 1080p resolution in 16:9 or 9:16 aspect ratio. **auto\_fix** `boolean` (default: false) Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them. **duration** `string` (default: 7s) The duration of the generated video. Allowed values: `"7s"`. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing how the video should be extended" > }, > "auto_fix": { > "type": "boolean", > "title": "Auto Fix", > "default": false, > "description": "Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them.", > "x-is-hidden": true > }, > "duration": { > "enum": [ > "7s" > ], > "type": "string", > "title": "Duration", > "default": "7s", > "description": "The duration of the generated video." > }, > "video_url": { > "type": "string", > "title": "Video URL", > "examples": [ > "https://v3b.fal.media/files/b/0a8670fe/pY8UGl4_C452wOm9XUBYO_9ae04df8771c4f3f979fa5cabeca6ada.mp4" > ], > "description": "URL of the video to extend. The video should be 720p or 1080p resolution in 16:9 or 9:16 aspect ratio.", > "resolution_limit": [ > "720p", > "1080p" > ], > "aspect_ratio_limit": [ > "16:9", > "9:16" > ], > "min_duration": 3 > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Fast Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-fast Faster and more cost effective version of Google's Veo 3.1! [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/fast`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **6.0** | | 6s | **9.0** | | 8s | **12.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/fast", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/fast", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. If it is set to 1:1, the video will be outpainted. Allowed values: `"16:9"`, `"9:16"`. **enhance\_prompt** `boolean` (default: true) Whether to enhance the video generation **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ] > } > }, > "errorMessage": { > "properties": { > "aspect_ratio": "1080p with 1:1 aspect ratio is not supported for Veo3. Please select a different aspect ratio or model to continue." > } > } > } > }, > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "duration": { > "const": "8s" > } > }, > "errorMessage": { > "properties": { > "duration": "For 1080p resolution, only 8s duration is supported. Please change the duration or resolution." > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video. If it is set to 1:1, the video will be outpainted." > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": true, > "description": "Whether to enhance the video generation" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Fast (First & Last frame) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-fast-first-last-frame-to-video Generate videos from a first/last frame using Google's Veo 3.1 fast [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/fast/first-last-frame-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **6.0** | | 6s | **9.0** | | 8s | **12.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/fast/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/fast/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **first\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **last\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video Allowed values: `"auto"`, `"16:9"`, `"9:16"`. **generate\_audio** `boolean` **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "first_frame_url", > "last_frame_url", > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean" > }, > "last_frame_url": { > "type": "string", > "title": "Last Frame Url", > "x-ui-name": "end_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "first_frame_url": { > "type": "string", > "title": "First Frame Url", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Fast Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-fast-image-to-video Veo 3.1 Fast — faster and more efficient, while maintaining good generation quality. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/fast/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **6.0** | | 6s | **9.0** | | 8s | **12.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/fast/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/fast/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `3000`. **image\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 3000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 (First & Last frame) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-first-last-frame-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/first-last-frame-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **16.0** | | 6s | **24.0** | | 8s | **32.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **first\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **last\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video Allowed values: `"auto"`, `"16:9"`, `"9:16"`. **generate\_audio** `boolean` **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "first_frame_url", > "last_frame_url", > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean" > }, > "last_frame_url": { > "type": "string", > "title": "Last Frame Url", > "x-ui-name": "end_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "first_frame_url": { > "type": "string", > "title": "First Frame Url", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-image-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | Credits | | - | - | | 4s | **16.0** | | 6s | **24.0** | | 8s | **32.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Lite (Extend Video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-lite-extend-video Extend your videos seamlessly while maintaining perfect consistency and natural flow [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1-lite/extend-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Resolution | Credits | | - | - | | 720p | **3.5** | | 1080p | **6.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1-lite/extend-video", "input_params": { "prompt": "She finishes speaking, leans back and smiles at the camera.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1-lite/extend-video", "input_params": { "prompt": "She finishes speaking, leans back and smiles at the camera.", "video_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing how the video should be extended Minimum characters: `1`. Maximum characters: `2000`. **video\_url** `string` *required* URL of the video to extend. The video should be 720p or 1080p resolution in 16:9 or 9:16 aspect ratio. **auto\_fix** `boolean` (default: false) Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them. **duration** `string` (default: 7s) The duration of the generated video. Allowed values: `"7s"`. **resolution** `string` (default: 720p) The resolution of the generated video. Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "video_url" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing how the video should be extended" > }, > "auto_fix": { > "type": "boolean", > "title": "Auto Fix", > "default": false, > "description": "Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them.", > "x-is-hidden": true > }, > "duration": { > "enum": [ > "7s" > ], > "type": "string", > "title": "Duration", > "default": "7s", > "description": "The duration of the generated video." > }, > "video_url": { > "type": "string", > "title": "Video URL", > "examples": [ > "https://v3b.fal.media/files/b/0a8670fe/pY8UGl4_C452wOm9XUBYO_9ae04df8771c4f3f979fa5cabeca6ada.mp4" > ], > "description": "URL of the video to extend. The video should be 720p or 1080p resolution in 16:9 or 9:16 aspect ratio.", > "resolution_limit": [ > "720p", > "1080p" > ], > "aspect_ratio_limit": [ > "16:9", > "9:16" > ], > "min_duration": 3 > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video.", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Lite (First & Last frame) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-lite-first-last-frame-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1-lite/first-last-frame-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | | - | - | - | | 4s | **2.0** | **3.5** | | 6s | **3.0** | **5.0** | | 8s | **4.0** | **6.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1-lite/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1-lite/first-last-frame-to-video", "input_params": { "first_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "last_frame_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg", "prompt": "She looks up from her laptop and smiles at the camera." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **first\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **last\_frame\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: auto) The aspect ratio of the generated video Allowed values: `"auto"`, `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "first_frame_url", > "last_frame_url", > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "auto", > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "auto", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "last_frame_url": { > "type": "string", > "title": "Last Frame Url", > "x-ui-name": "end_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "first_frame_url": { > "type": "string", > "title": "First Frame Url", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Lite Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-lite-image-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1-lite/image-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | | - | - | - | | 4s | **2.0** | **3.5** | | 6s | **3.0** | **5.0** | | 8s | **4.0** | **6.5** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1-lite/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1-lite/image-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_url": "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **image\_url** `string` *required* URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_url" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "image_url": { > "type": "string", > "title": "Image URL", > "x-ui-name": "start_image", > "description": "URL of the input image to animate. Should be 720p or higher resolution in 16:9 aspect ratio. If the image is not in 16:9 aspect ratio, it will be cropped to fit." > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 Lite Text to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-lite-text-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1-lite/text-to-video`\ **Generation type:** `text_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 720p | 1080p | | - | - | - | | 4s | **2.0** | — | | 6s | **3.0** | — | | 8s | **4.0** | **6.5** | — means the combination isn't accepted by this model. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1-lite/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1-lite/text-to-video", "input_params": { "prompt": "A slow cinematic tracking shot along a sunlit coastal road." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **seed** `integer` The same seed and the same prompt given to the same version of the model will output the same image every time. **duration** `string` (default: 8s) The duration of the generated video in seconds Allowed values: `"4s"`, `"6s"`, `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **enhance\_prompt** `boolean` (default: true) Whether to enhance the video generation **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "allOf": [ > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ] > } > }, > "errorMessage": { > "properties": { > "aspect_ratio": "1080p with 1:1 aspect ratio is not supported for Veo3. Please select a different aspect ratio or model to continue." > } > } > } > }, > { > "if": { > "properties": { > "resolution": { > "const": "1080p" > } > }, > "required": [ > "resolution" > ] > }, > "then": { > "properties": { > "duration": { > "const": "8s" > } > }, > "errorMessage": { > "properties": { > "duration": "For 1080p resolution, only 8s duration is supported. Please change the duration or resolution." > } > } > } > } > ], > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "seed": { > "type": "integer", > "title": "Seed", > "description": "The same seed and the same prompt given to the same version of the model will output the same image every time.", > "x-advance-settings": true > }, > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "4s", > "6s", > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "enhance_prompt": { > "type": "boolean", > "title": "Enhance Prompt", > "default": true, > "description": "Whether to enhance the video generation" > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Veo 3.1 (Reference to Video) Image to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/veo/veo3-1-reference-to-video Improved cinematic realism with cleaner audio and stronger motion control. [← Veo](/api-documentation/ai-generation/models/veo) **Model name:** `veo3.1/reference-to-video`\ **Generation type:** `image_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **32.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "veo3.1/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "veo3.1/reference-to-video", "input_params": { "prompt": "She looks up from her laptop and smiles at the camera.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* The text prompt describing the video you want to generate Minimum characters: `1`. Maximum characters: `2000`. **image\_urls** `string[]` *required* URLs of the reference images to use for consistent subject appearance Minimum items: `1`. Maximum items: `3`. **duration** `string` (default: 8s) The duration of the generated video in seconds (reference-to-video only supports 8s) Allowed values: `"8s"`. **resolution** `string` (default: 720p) The resolution of the generated video Allowed values: `"720p"`, `"1080p"`. **aspect\_ratio** `string` (default: 16:9) The aspect ratio of the generated video. Allowed values: `"16:9"`, `"9:16"`. **generate\_audio** `boolean` (default: true) Whether to generate audio for the video. **negative\_prompt** `string` A negative prompt to guide the video generation > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "maxLength": 2000, > "minLength": 1, > "description": "The text prompt describing the video you want to generate" > }, > "duration": { > "enum": [ > "8s" > ], > "type": "string", > "title": "Duration", > "default": "8s", > "description": "The duration of the generated video in seconds (reference-to-video only supports 8s)" > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 3, > "minItems": 1, > "description": "URLs of the reference images to use for consistent subject appearance" > }, > "resolution": { > "enum": [ > "720p", > "1080p" > ], > "type": "string", > "title": "Resolution", > "default": "720p", > "description": "The resolution of the generated video", > "x-advance-settings": true > }, > "aspect_ratio": { > "enum": [ > "16:9", > "9:16" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "16:9", > "description": "The aspect ratio of the generated video." > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Whether to generate audio for the video.", > "x-advance-settings": true > }, > "negative_prompt": { > "type": "string", > "title": "Negative Prompt", > "description": "A negative prompt to guide the video generation", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan API: Models and Pricing Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan Wan on the Creatify API: 6 models for video to video, text to image and image to image, with credit prices, input parameters and request examples. 6 models. Open a model for its full price table, input schema and request examples. | Model | Model name | Generation type | Price | | - | - | - | - | | [Wan 3.0 Prime (reference-to-video) · Video to video](/api-documentation/ai-generation/models/wan/wan3-0-prime-reference-to-video) | `wan3.0-prime/reference-to-video` | `video_to_video` | From **1.5** credits | | [Wan 3.0 (reference-to-video) · Video to video](/api-documentation/ai-generation/models/wan/wan3-0-reference-to-video) | `wan3.0/reference-to-video` | `video_to_video` | From **1.5** credits | | [Wan 2.7 Pro · Text to image](/api-documentation/ai-generation/models/wan/wan2-7-image-pro-text-to-image) | `wan2.7-image/pro/text-to-image` | `text_to_image` | **1.0** credits | | [Wan 2.7 · Text to image](/api-documentation/ai-generation/models/wan/wan2-7-image-text-to-image) | `wan2.7-image/text-to-image` | `text_to_image` | **0.5** credits | | [Wan 2.7 · Image to image](/api-documentation/ai-generation/models/wan/wan2-7-image-image-to-image) | `wan2.7-image/image-to-image` | `image_to_image` | **0.5** credits | | [Wan 2.7 Pro · Image to image](/api-documentation/ai-generation/models/wan/wan2-7-image-pro-image-to-image) | `wan2.7-image/pro/image-to-image` | `image_to_image` | **1.0** credits | # Wan 2.7 Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan2-7-image-image-to-image Wan 2.7 image editing with instruction-based and reference-based transformations. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan2.7-image/image-to-image`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan2.7-image/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan2.7-image/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the edit or transformation to apply to the image. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` *required* Input images to edit. Supports JPEG, PNG, BMP, WEBP. 240–8000px, max 20MB each. Minimum items: `1`. Maximum items: `9`. **resolution** `string` (default: 2K) Resolution of the generated image. Capped at 2K for image editing. Allowed values: `"1K"`, `"2K"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the edit or transformation to apply to the image." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 9, > "minItems": 1, > "description": "Input images to edit. Supports JPEG, PNG, BMP, WEBP. 240–8000px, max 20MB each.", > "max_file_size": 20971520, > "min_width": 240, > "max_width": 8000, > "min_height": 240, > "max_height": 8000 > }, > "resolution": { > "enum": [ > "1K", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Resolution of the generated image. Capped at 2K for image editing.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan 2.7 Pro Image to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan2-7-image-pro-image-to-image Wan 2.7 Pro image editing with higher quality output. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan2.7-image/pro/image-to-image`\ **Generation type:** `image_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **1.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan2.7-image/pro/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan2.7-image/pro/image-to-image", "input_params": { "prompt": "Place her in a bright café with soft morning light.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the edit or transformation to apply to the image. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` *required* Input images to edit. Supports JPEG, PNG, BMP, WEBP. 240–8000px, max 20MB each. Minimum items: `1`. Maximum items: `9`. **resolution** `string` (default: 2K) Resolution of the generated image. Capped at 2K for image editing. Allowed values: `"1K"`, `"2K"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt", > "image_urls" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the edit or transformation to apply to the image." > }, > "image_urls": { > "type": "array", > "items": { > "type": "string" > }, > "title": "Image URLs", > "maxItems": 9, > "minItems": 1, > "description": "Input images to edit. Supports JPEG, PNG, BMP, WEBP. 240–8000px, max 20MB each.", > "max_file_size": 20971520, > "min_width": 240, > "max_width": 8000, > "min_height": 240, > "max_height": 8000 > }, > "resolution": { > "enum": [ > "1K", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Resolution of the generated image. Capped at 2K for image editing.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan 2.7 Pro Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan2-7-image-pro-text-to-image Wan 2.7 Pro text-to-image with 4K support and higher quality output. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan2.7-image/pro/text-to-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **1.0** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan2.7-image/pro/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan2.7-image/pro/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the image you want to generate. Supports Chinese and English. Minimum characters: `1`. Maximum characters: `5000`. **aspect\_ratio** `string` (default: 1:1) Aspect ratio of the generated image. Allowed values: `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`. **resolution** `string` (default: 2K) Resolution tier of the generated image. 4K is exclusive to Pro. Allowed values: `"1K"`, `"2K"`, `"4K"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. **thinking\_mode** `boolean` (default: true) Use LLM reasoning to improve image quality. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the image you want to generate. Supports Chinese and English." > }, > "aspect_ratio": { > "enum": [ > "1:1", > "16:9", > "9:16", > "4:3", > "3:4" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "Aspect ratio of the generated image." > }, > "resolution": { > "enum": [ > "1K", > "2K", > "4K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Resolution tier of the generated image. 4K is exclusive to Pro.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > }, > "thinking_mode": { > "type": "boolean", > "title": "Thinking Mode", > "default": true, > "description": "Use LLM reasoning to improve image quality.", > "x-advance-settings": true > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan 2.7 Text to Image API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan2-7-image-text-to-image Wan 2.7 text-to-image generation with strong prompt adherence. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan2.7-image/text-to-image`\ **Generation type:** `text_to_image`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing **0.5** credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. ## Quick start ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan2.7-image/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan2.7-image/text-to-image", "input_params": { "prompt": "A product photo of a ceramic mug on a marble counter, soft daylight." }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the image you want to generate. Supports Chinese and English. Minimum characters: `1`. Maximum characters: `5000`. **aspect\_ratio** `string` (default: 1:1) Aspect ratio of the generated image. Allowed values: `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`. **resolution** `string` (default: 2K) Resolution tier of the generated image. Allowed values: `"1K"`, `"2K"`. **num\_images** `integer` (default: 1) Number of images to generate. Minimum: `1`. Maximum: `4`. **thinking\_mode** `boolean` (default: true) Use LLM reasoning to improve image quality. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the image you want to generate. Supports Chinese and English." > }, > "aspect_ratio": { > "enum": [ > "1:1", > "16:9", > "9:16", > "4:3", > "3:4" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "1:1", > "description": "Aspect ratio of the generated image." > }, > "resolution": { > "enum": [ > "1K", > "2K" > ], > "type": "string", > "title": "Resolution", > "default": "2K", > "description": "Resolution tier of the generated image.", > "x-advance-settings": true > }, > "num_images": { > "type": "integer", > "title": "Number of Images", > "default": 1, > "maximum": 4, > "minimum": 1, > "x-ui-name": "output_nums", > "description": "Number of images to generate." > }, > "thinking_mode": { > "type": "boolean", > "title": "Thinking Mode", > "default": true, > "description": "Use LLM reasoning to improve image quality.", > "x-advance-settings": true > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan 3.0 Prime (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan3-0-prime-reference-to-video Wan 3.0 Prime: the faster Wan 3.0 tier with quad-modal reference, native 2-30s duration, pixel-level consistency and synchronized audio. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan3.0-prime/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480P | 720P | 1080P | | - | - | - | - | | 2s | **1.5** | **3.5** | **6.5** | | 3s | **2.5** | **5.0** | **9.5** | | 4s | **3.0** | **6.5** | **12.5** | | 5s | **4.0** | **8.0** | **15.5** | | 6s | **4.5** | **9.5** | **18.5** | | 7s | **5.5** | **11.0** | **21.5** | | 8s | **6.0** | **12.5** | **24.5** | | 9s | **7.0** | **14.0** | **28.0** | | 10s | **7.5** | **15.5** | **31.0** | | 11s | **8.5** | **17.0** | **34.0** | | 12s | **9.0** | **18.5** | **37.0** | | 13s | **10.0** | **20.0** | **40.0** | | 14s | **10.5** | **21.5** | **43.0** | | 15s | **11.5** | **23.0** | **46.0** | | 16s | **12.0** | **24.5** | **49.0** | | 17s | **13.0** | **26.5** | **52.5** | | 18s | **13.5** | **28.0** | **55.5** | | 19s | **14.5** | **29.5** | **58.5** | | 20s | **15.0** | **31.0** | **61.5** | | 21s | **16.0** | **32.5** | **64.5** | | 22s | **16.5** | **34.0** | **67.5** | | 23s | **17.5** | **35.5** | **70.5** | | 24s | **18.0** | **37.0** | **73.5** | | 25s | **19.0** | **38.5** | **76.5** | | 26s | **19.5** | **40.0** | **80.0** | | 27s | **20.5** | **41.5** | **83.0** | | 28s | **21.0** | **43.0** | **86.0** | | 29s | **22.0** | **44.5** | **89.0** | | 30s | **22.5** | **46.0** | **92.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds). ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan3.0-prime/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan3.0-prime/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the video. Reference your inputs as @image1, @video1 — numbered separately per type, in the order added. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` Up to 10 reference images (JPEG, PNG, BMP, WEBP, max 20MB each). Maximum items: `10`. **video\_urls** `string[]` Up to 5 reference videos (MP4, MOV, max 15s combined, 100MB total, 240-4096px per side, aspect ratio up to 8:1). Reference as 'Video 1', 'Video 2'. Generated video (reference seconds + duration) is capped at 30s total. Maximum items: `5`. **audio\_urls** `string[]` Up to 5 reference audio clips (WAV, MP3, max 15s combined, 15MB total). Requires at least one image or video reference. Maximum items: `5`. **duration** `string` (default: 5) Duration of the generated video in seconds. Allowed values: `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **aspect\_ratio** `string` (default: adaptive) The aspect ratio of the generated video. adaptive follows the reference media. Allowed values: `"adaptive"`, `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"`. **resolution** `string` (default: 1080P) Video resolution. 1080P costs more than 720P and 480P. Allowed values: `"480P"`, `"720P"`, `"1080P"`. **generate\_audio** `boolean` (default: true) Generate synchronized audio for the video. Same price with or without audio. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the video. Reference your inputs as @image1, @video1 — numbered separately per type, in the order added.", > "x-support-types": [ > "mentions" > ] > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 20MB. Supported formats: JPEG, PNG, BMP, WEBP." > }, > "title": "Reference Images", > "maxItems": 10, > "description": "Up to 10 reference images (JPEG, PNG, BMP, WEBP, max 20MB each).", > "max_file_size": 20971520, > "min_width": 240, > "max_width": 8000, > "min_height": 240, > "max_height": 8000, > "min_aspect_ratio": 0.125, > "max_aspect_ratio": 8.0, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 5 clips, max 15s combined, max 100MB total. Resolution 240-4096px, aspect ratio up to 8:1. Supported formats: MP4, MOV." > }, > "title": "Reference Videos", > "maxItems": 5, > "description": "Up to 5 reference videos (MP4, MOV, max 15s combined, 100MB total, 240-4096px per side, aspect ratio up to 8:1). Reference as 'Video 1', 'Video 2'. Generated video (reference seconds + duration) is capped at 30s total.", > "max_file_size": 104857600, > "min_width": 240, > "max_width": 4096, > "min_height": 240, > "max_height": 4096, > "min_aspect_ratio": 0.125, > "max_aspect_ratio": 8.0, > "min_duration": 1, > "max_total_duration": 15, > "x-combined-duration-limit": { > "field": "duration", > "max": 30 > } > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 5 clips, max 15s combined, max 15MB. Supported formats: WAV, MP3." > }, > "title": "Reference Audio", > "maxItems": 5, > "description": "Up to 5 reference audio clips (WAV, MP3, max 15s combined, 15MB total). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 1, > "max_total_duration": 15 > }, > "duration": { > "enum": [ > "2", > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Duration of the generated video in seconds." > }, > "aspect_ratio": { > "enum": [ > "adaptive", > "16:9", > "9:16", > "1:1", > "4:3", > "3:4" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "adaptive", > "description": "The aspect ratio of the generated video. adaptive follows the reference media." > }, > "resolution": { > "enum": [ > "480P", > "720P", > "1080P" > ], > "type": "string", > "title": "Resolution", > "default": "1080P", > "description": "Video resolution. 1080P costs more than 720P and 480P.", > "x-advance-settings": true > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Generate synchronized audio for the video. Same price with or without audio.", > "x-advance-settings": true > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # Wan 3.0 (reference-to-video) Video to Video API Source: https://docs.creatify.ai/api-documentation/ai-generation/models/wan/wan3-0-reference-to-video Wan 3.0 all-in-one video model: quad-modal reference, native 2-30s duration, pixel-level consistency and synchronized audio. [← Wan](/api-documentation/ai-generation/models/wan) **Model name:** `wan3.0/reference-to-video`\ **Generation type:** `video_to_video`\ **Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation) ## Pricing | Duration | 480P | 720P | 1080P | | - | - | - | - | | 2s | **1.5** | **2.5** | **4.5** | | 3s | **2.0** | **3.5** | **7.0** | | 4s | **2.5** | **4.5** | **9.0** | | 5s | **3.0** | **5.5** | **11.0** | | 6s | **3.5** | **7.0** | **13.5** | | 7s | **4.0** | **8.0** | **15.5** | | 8s | **4.5** | **9.0** | **18.0** | | 9s | **5.5** | **10.0** | **20.0** | | 10s | **6.0** | **11.0** | **22.0** | | 11s | **6.5** | **12.5** | **24.5** | | 12s | **7.0** | **13.5** | **26.5** | | 13s | **7.5** | **14.5** | **29.0** | | 14s | **8.0** | **15.5** | **31.0** | | 15s | **8.5** | **16.5** | **33.0** | | 16s | **9.0** | **18.0** | **35.5** | | 17s | **10.0** | **19.0** | **37.5** | | 18s | **10.5** | **20.0** | **40.0** | | 19s | **11.0** | **21.0** | **42.0** | | 20s | **11.5** | **22.0** | **44.0** | | 21s | **12.0** | **23.5** | **46.5** | | 22s | **12.5** | **24.5** | **48.5** | | 23s | **13.0** | **25.5** | **51.0** | | 24s | **13.5** | **26.5** | **53.0** | | 25s | **14.0** | **27.5** | **55.0** | | 26s | **15.0** | **29.0** | **57.5** | | 27s | **15.5** | **30.0** | **59.5** | | 28s | **16.0** | **31.0** | **62.0** | | 29s | **16.5** | **32.0** | **64.0** | | 30s | **17.0** | **33.0** | **66.0** | Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds). ## Quick start The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files. ```bash cURL theme={null} curl --request POST \ --url https://api.creatify.ai/api/asset_generator/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "model_name": "wan3.0/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] } }' ``` ```python Python theme={null} import requests response = requests.post( "https://api.creatify.ai/api/asset_generator/", headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"}, json={ "model_name": "wan3.0/reference-to-video", "input_params": { "prompt": "The woman from the reference image talks to the camera in a bright café, with the gestures of the reference video.", "image_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/avatar-aurora/recommendation-4.jpg" ], "video_urls": [ "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/sample-video.mp4" ], "audio_urls": [ "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3" ] }, }, ) print(response.json()["id"]) ``` ## Input parameters Send these fields in `input_params`. **prompt** `string` *required* Describe the video. Reference your inputs as @image1, @video1 — numbered separately per type, in the order added. Minimum characters: `1`. Maximum characters: `5000`. **image\_urls** `string[]` Up to 10 reference images (JPEG, PNG, BMP, WEBP, max 20MB each). Maximum items: `10`. **video\_urls** `string[]` Up to 5 reference videos (MP4, MOV, max 15s combined, 100MB total, 240-4096px per side, aspect ratio up to 8:1). Reference as 'Video 1', 'Video 2'. Generated video (reference seconds + duration) is capped at 30s total. Maximum items: `5`. **audio\_urls** `string[]` Up to 5 reference audio clips (WAV, MP3, max 15s combined, 15MB total). Requires at least one image or video reference. Maximum items: `5`. **duration** `string` (default: 5) Duration of the generated video in seconds. Allowed values: `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"`, `"16"`, `"17"`, `"18"`, `"19"`, `"20"`, `"21"`, `"22"`, `"23"`, `"24"`, `"25"`, `"26"`, `"27"`, `"28"`, `"29"`, `"30"`. **aspect\_ratio** `string` (default: adaptive) The aspect ratio of the generated video. adaptive follows the reference media. Allowed values: `"adaptive"`, `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"`. **resolution** `string` (default: 1080P) Video resolution. 1080P costs more than 720P and 480P. Allowed values: `"480P"`, `"720P"`, `"1080P"`. **generate\_audio** `boolean` (default: true) Generate synchronized audio for the video. Same price with or without audio. **seed** `integer` Random seed for reproducibility. Minimum: `0`. Maximum: `2147483647`. > [accordion] Complete JSON schema > > ```json theme={null} > { > "$schema": "http://json-schema.org/draft-07/schema#", > "required": [ > "prompt" > ], > "properties": { > "prompt": { > "type": "string", > "title": "Prompt", > "minLength": 1, > "maxLength": 5000, > "description": "Describe the video. Reference your inputs as @image1, @video1 — numbered separately per type, in the order added.", > "x-support-types": [ > "mentions" > ] > }, > "image_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max file size: 20MB. Supported formats: JPEG, PNG, BMP, WEBP." > }, > "title": "Reference Images", > "maxItems": 10, > "description": "Up to 10 reference images (JPEG, PNG, BMP, WEBP, max 20MB each).", > "max_file_size": 20971520, > "min_width": 240, > "max_width": 8000, > "min_height": 240, > "max_height": 8000, > "min_aspect_ratio": 0.125, > "max_aspect_ratio": 8.0, > "x-mention-prefix": "image" > }, > "video_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 5 clips, max 15s combined, max 100MB total. Resolution 240-4096px, aspect ratio up to 8:1. Supported formats: MP4, MOV." > }, > "title": "Reference Videos", > "maxItems": 5, > "description": "Up to 5 reference videos (MP4, MOV, max 15s combined, 100MB total, 240-4096px per side, aspect ratio up to 8:1). Reference as 'Video 1', 'Video 2'. Generated video (reference seconds + duration) is capped at 30s total.", > "max_file_size": 104857600, > "min_width": 240, > "max_width": 4096, > "min_height": 240, > "max_height": 4096, > "min_aspect_ratio": 0.125, > "max_aspect_ratio": 8.0, > "min_duration": 1, > "max_total_duration": 15, > "x-combined-duration-limit": { > "field": "duration", > "max": 30 > } > }, > "audio_urls": { > "type": "array", > "items": { > "type": "string", > "limit_description": "Max 5 clips, max 15s combined, max 15MB. Supported formats: WAV, MP3." > }, > "title": "Reference Audio", > "maxItems": 5, > "description": "Up to 5 reference audio clips (WAV, MP3, max 15s combined, 15MB total). Requires at least one image or video reference.", > "max_file_size": 15728640, > "min_duration": 1, > "max_total_duration": 15 > }, > "duration": { > "enum": [ > "2", > "3", > "4", > "5", > "6", > "7", > "8", > "9", > "10", > "11", > "12", > "13", > "14", > "15", > "16", > "17", > "18", > "19", > "20", > "21", > "22", > "23", > "24", > "25", > "26", > "27", > "28", > "29", > "30" > ], > "type": "string", > "title": "Duration", > "default": "5", > "description": "Duration of the generated video in seconds." > }, > "aspect_ratio": { > "enum": [ > "adaptive", > "16:9", > "9:16", > "1:1", > "4:3", > "3:4" > ], > "type": "string", > "title": "Aspect Ratio", > "default": "adaptive", > "description": "The aspect ratio of the generated video. adaptive follows the reference media." > }, > "resolution": { > "enum": [ > "480P", > "720P", > "1080P" > ], > "type": "string", > "title": "Resolution", > "default": "1080P", > "description": "Video resolution. 1080P costs more than 720P and 480P.", > "x-advance-settings": true > }, > "generate_audio": { > "type": "boolean", > "title": "Generate Audio", > "default": true, > "description": "Generate synchronized audio for the video. Same price with or without audio.", > "x-advance-settings": true > }, > "seed": { > "type": "integer", > "minimum": 0, > "maximum": 2147483647, > "title": "Seed", > "description": "Random seed for reproducibility.", > "x-advance-settings": true > } > } > } > ``` ## Response The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`. # AI Shorts API: Text to Short-Form Video Source: https://docs.creatify.ai/api-documentation/ai-shorts/ai-shorts API that converts text into high-impact, viral short-form videos — optimized for performance and shareability. > [!WARNING] > > **Deprecated:** AI Shorts API is deprecated and will be removed in a future release. Please use [URL to Video](/api-documentation/url-to-video/link-to-video) or [AI Avatar](/api-documentation/ai-avatar/lipsync-v2) instead. ## 🚀 Introduction The **AI Shorts API** allows you to turn any script into an engaging, short-form video designed for virality. Whether you're promoting a product, delivering a message, or testing content hooks, this tool offers fast, scalable video generation with cinematic quality. ![AI Shorts Snapshot](https://mintcdn.com/creatify/fobKWPKCdJDOWjln/snapshots/ai_avatar.png?fit=max\&auto=format\&n=fobKWPKCdJDOWjln\&q=85\&s=694734d50aed218ce4da1d2ca01c1f5e) *** ## ⚙️ Quickstart Guide ### ✅ Prerequisites Before you begin, ensure you have: * A [Creatify](https://app.creatify.ai) account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 📝 Step 1: Submit a Video Generation Request Use this endpoint to generate a short-form video from a script. ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/ai_shorts/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "script": "Meet the Tesla Model X, where cutting-edge technology meets unparalleled performance. Designed with luxury and comfort in mind, the Model X offers a driving experience like no other.", "aspect_ratio": "9x16", "style": "4K realistic" }' ``` ```json Example Response theme={null} { "id": "c7f61ee0-97d5-49a4-bb85-e8c70d611030", "media_job": null, "status": "pending", "video_output": null, "preview": null, "credits_used": 0, "is_hidden": false, "progress": 0, "created_at": "2025-05-21T22:45:03.392489-07:00", "updated_at": "2025-05-21T22:45:03.392515-07:00", "permission_type": "workspace", "name": "Artsy video", "script": "Meet the Tesla Model X, where cutting-edge technology meets unparalleled performance. Designed with luxury and comfort in mind, the Model X offers a driving experience like no other.", "aspect_ratio": "9x16", "style": "4K realistic", "created_from_api": true, "caption_setting": null, "background_music_url": null, "background_music_volume": null, "voiceover_volume": null, "webhook_url": null, "user": 18165, "workspace": "a1240918-1f02-47f1-bebe-832a555507f3", "accent": null } ``` > 🎬 The response includes a unique video ID. Save it to check status. *** ## ⏳ Step 2: Check Video Generation Status After submitting the request, monitor the generation progress using the returned ID. ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/ai_shorts/c7f61ee0-97d5-49a4-bb85-e8c70d611030/ \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response theme={null} { "id": "c7f61ee0-97d5-49a4-bb85-e8c70d611030", "media_job": "2e243d9c-6570-4845-b749-d0aa25fd3be5", "status": "done", "video_output": "https://s3.us-west-2.amazonaws.com/remotionlambda-uswest2-30tewi8y5c/renders/rb8dnrq8nj/output.mp4", "preview": "https://app.creatify.ai/preview?layout=videos/20250521/d336d0c6-3415-406e-94e9-324c46093ea0.json", "credits_used": 5, "is_hidden": false, "progress": 1, "created_at": "2025-05-21T22:45:03.392489-07:00", "updated_at": "2025-05-21T22:45:03.545370-07:00", "permission_type": "workspace", "name": "Artsy video", "script": "Meet the Tesla Model X, where cutting-edge technology meets unparalleled performance. Designed with luxury and comfort in mind, the Model X offers a driving experience like no other.", "aspect_ratio": "9x16", "style": "4K realistic", "created_from_api": true, "caption_setting": null, "background_music_url": null, "background_music_volume": null, "voiceover_volume": null, "webhook_url": null, "user": 18165, "workspace": "a1240918-1f02-47f1-bebe-832a555507f3", "accent": null } ``` > ⏳ When `status` is `done`, retrieve your video from the `video_output` field. *** ## 🎯 Summary | Step | Endpoint | | - | - | | Create Task | `POST /api/ai_shorts/` | | Check Status | `GET /api/ai_shorts/{id}/` | | API Reference | [AI Shorts Reference](/api-reference/ai-shorts/post-ai-shorts) | *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # Aurora API: Photo to Avatar Video Source: https://docs.creatify.ai/api-documentation/aurora/aurora API that transforms a single image into a professional, studio-grade avatar video — lifelike, expressive, and ready for production. [Aurora Demo](https://www.youtube.com/embed/GekpOvLpnzs) ## 🚀 Introduction The **Aurora API** enables you to create **studio-quality, avatar-based videos** from just a **single photo** (real or AI-generated) and an **audio clip** (speech or song).\ Powered by a state-of-the-art image-to-avatar model, Aurora generates lifelike videos where the avatar **blinks, speaks, gestures, and emotes** as if it were real. Whether you’re building user-generated content (UGC) ads, animated characters, or singing avatars, Aurora delivers unparalleled realism with professional-grade output. ## Choose a model One endpoint, `POST /api/aurora/`, serves every Aurora model. Pick one with `model_version`. | Model | `model_version` | Best for | | - | - | - | | [Aurora 2.0](/api-documentation/aurora/model-aurora-2) | `aurora_v2` | The highest quality, rendered at 480p, 720p, 1080p or 2k, from up to 59.7 seconds of audio. | | [Aurora 1.0](/api-documentation/aurora/model-aurora-1) | `aurora_v1` (default) | Long audio, up to 5 minutes, at 720p. | | [Aurora 1.0 Fast](/api-documentation/aurora/model-aurora-1) | `aurora_v1_fast` | Faster, lower-cost renders of long audio, below 720p. | Prices and limits for all three are under [Pricing, limits and retention](#-pricing-limits-and-retention). *** ## ⚙️ Quickstart Guide ### ✅ Prerequisites Before you begin, ensure you have: * A [Creatify](https://app.creatify.ai) account with **API access** * Your **API credentials** (see [Quickstart](/quickstart)) *** ## 📝 Step 1: Submit an Avatar Video Generation Request Send a photo and an audio clip. This request renders Aurora 2.0 at 2k; each model page has more examples. ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/aurora/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "image": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/aurora-v2-car.jpg", "audio": "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3", "model_version": "aurora_v2", "resolution": "2k", "webhook_url": "https://webhook.example" }' ``` ```json Example Response theme={null} { "id": "74f8bfb2-35bd-49d9-9df7-71258f22451f", "created_at": "2026-10-11T16:23:57.630037-07:00", "updated_at": "2026-10-11T16:23:57.630037-07:00", "name": null, "audio": "https://cdn.creatify.ai/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3", "image": "https://cdn.creatify.ai/ai_tools_flow/c2pa/20261011/97a4af4423204605aeaeab8af9b88a5c.jpg", "text_prompt": null, "prompt_guidance_scale": 1.0, "color_correction_strength": 1.0, "model_version": "aurora_v2", "resolution": "2k", "video_output": null, "credits_used": 0, "duration": null, "progress": 0, "failed_reason": null, "media_job": null, "status": "pending", "is_hidden": false, "webhook_url": "https://webhook.example", "preview": null, "editor_url": null } ``` > 🎬 The response includes a unique video ID. Save it to check status. ### Parameters | Parameter | Required | Description | | - | - | - | | `image` | Yes | URL of the photo to animate: `png`, `jpg`, `jpeg` or `webp`. For `aurora_v2`, 256 to 5760 pixels on each side, an aspect ratio between 1:4 and 4:1, and up to 30 MB. | | `audio` | Yes | URL of the speech or song: `mp3` or `wav`. Up to 5 minutes, or 59.7 seconds for `aurora_v2`. The video is as long as the audio. | | `model_version` | No | `aurora_v1` (default), `aurora_v1_fast` or `aurora_v2`. | | `resolution` | No | `aurora_v2` only: `480p`, `720p` (default), `1080p` or `2k`. `2k` takes audio up to 14.375 seconds. Sending `resolution` with `aurora_v1` or `aurora_v1_fast` returns a 400 error. | | `text_prompt` | No | Describes the style, scene, camera, lighting, expression or motion you want. | | `prompt_guidance_scale` | No | How closely to follow `text_prompt`, from `0.0` to `10.0`. Default `1.0`. Ignored by `aurora_v2`. | | `name` | No | A name for the video. | | `webhook_url` | No | URL that receives a POST when the video finishes. | *** ## ⏳ Step 2: Check Avatar Video Generation Status Poll the status endpoint with the returned ID until `status` is `done`. ```bash Example Request theme={null} curl --request GET \ --url https://api.creatify.ai/api/aurora/74f8bfb2-35bd-49d9-9df7-71258f22451f/ \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' ``` ```json Example Response theme={null} { "id": "74f8bfb2-35bd-49d9-9df7-71258f22451f", "created_at": "2026-10-11T16:23:57.630037-07:00", "updated_at": "2026-10-11T16:23:57.845743-07:00", "name": null, "audio": "https://cdn.creatify.ai/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3", "image": "https://cdn.creatify.ai/ai_tools_flow/c2pa/20261011/97a4af4423204605aeaeab8af9b88a5c.jpg", "text_prompt": null, "prompt_guidance_scale": 1.0, "color_correction_strength": 1.0, "model_version": "aurora_v2", "resolution": "2k", "video_output": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/aurora-v2-car.mp4", "credits_used": 30.8, "duration": 10, "progress": 1, "failed_reason": null, "media_job": "98dbc06f-fe31-47a5-8767-972b0ff78bc2", "status": "done", "is_hidden": false, "webhook_url": "https://webhook.example", "preview": null, "editor_url": null } ``` > ✅ When `status` is `done`, retrieve your video from the `video_output` field. ### 🔔 Webhook Option Instead of polling, you can provide a `webhook_url` in the request to receive the result automatically when the video is ready.\ When processing completes, Aurora will send a POST request to your webhook with a payload like this: ```json theme={null} { "id": "74f8bfb2-35bd-49d9-9df7-71258f22451f", "status": "done", "failed_reason": "", "video_output": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/aurora-v2-car.mp4" } ``` *** ## 🎯 Summary | Step | Endpoint | | - | - | | Create Task | `POST /api/aurora/` | | Check Status | `GET /api/aurora/{id}/` | | API Reference | [Aurora Reference](/api-reference/aurora/post-aurora) | *** ## 💳 Pricing, Limits and Retention Billing is per second of audio, rounded up to the next whole second. | `model_version` | Output | Credits per second | Audio length | | - | - | - | - | | `aurora_v1` (Aurora 1.0, default) | 720p | 1 | Up to 5 minutes | | `aurora_v1_fast` (Aurora 1.0 Fast) | Below 720p, faster | 0.5 | Up to 5 minutes | | `aurora_v2` (Aurora 2.0) | `480p`, `720p` (default), `1080p` or `2k` | 0.4, 0.7, 1.4 or 2.8 | Up to 59.7 seconds; up to 14.375 seconds at `2k` | For example, the 10.4-second audio in the request above is billed as 11 seconds: 5.5 credits with `aurora_v1_fast`, or 15.4 credits with `aurora_v2` at `1080p`. ### Failed videos If a video fails, `status` becomes `failed`, `failed_reason` explains why, and its credits are refunded automatically. If your balance is too low, the create request is refused with `Not enough credits` and nothing is charged. ### Output retention Generated videos stay available for at least 7 days after the task finishes. Download any video you want to keep to your own storage. *** ## 🤝 Need Help? If you run into any issues, check out our [API Reference](/api-reference) or contact [api@creatify.ai](mailto:api@creatify.ai). # Aurora 1.0 and 1.0 Fast API: Long Avatar Videos Source: https://docs.creatify.ai/api-documentation/aurora/model-aurora-1 Aurora 1.0 (720p) and Aurora 1.0 Fast (faster, lower resolution): talking videos from up to 5 minutes of audio. Aurora 1.0 (`aurora_v1`) is the default when `model_version` is omitted. Aurora 1.0 Fast (`aurora_v1_fast`) renders faster at half the price, at a lower resolution: Aurora 1.0 renders 720p, and our 9:16 example from Aurora 1.0 Fast came out 448 × 832. Both take up to 5 minutes of audio. For the request lifecycle (polling and webhooks), see the [Aurora overview](/api-documentation/aurora/aurora). Choose Aurora 1.0 for audio longer than Aurora 2.0's 59.7 seconds. For shorter clips, [Aurora 2.0](/api-documentation/aurora/model-aurora-2) gives higher quality and up to 2k. ## Pricing | Model | Output | Credits per second | Audio length | | - | - | - | - | | Aurora 1.0 (`aurora_v1`) | 720p | 1 | Up to 5 minutes | | Aurora 1.0 Fast (`aurora_v1_fast`) | Below 720p, faster | 0.5 | Up to 5 minutes | Billing is per second of audio, rounded up to the next whole second. For example, the 10.4-second audio in the example request is billed as 11 seconds: 11 credits with Aurora 1.0, or 5.5 credits with Aurora 1.0 Fast. Failed videos are refunded automatically, and generated videos stay available for at least 7 days. See [Pricing, limits and retention](/api-documentation/aurora/aurora#-pricing-limits-and-retention) to compare every model. ## Request ```bash Example Request theme={null} curl --request POST \ --url https://api.creatify.ai/api/aurora/ \ --header 'Content-Type: application/json' \ --header 'X-API-ID: your-api-id' \ --header 'X-API-KEY: your-api-key' \ --data '{ "image": "https://d35ghwdno3nak3.cloudfront.net/tutorial/asset-generator/aurora-v2-car.jpg", "audio": "https://d35ghwdno3nak3.cloudfront.net/user/18165/2025-09-15/2d20-req-3VV9TLO6qlTOflMMQBRe-0-s.mp3", "model_version": "aurora_v1_fast", "webhook_url": "https://webhook.example" }' ``` Use `"model_version": "aurora_v1"`, or leave it out, for Aurora 1.0. ## Examples The same photo and 10.4-second audio as the [Aurora 2.0](/api-documentation/aurora/model-aurora-2) examples, so you can compare the versions. Aurora 1.0 charged 11 credits and Aurora 1.0 Fast 5.5.