Skip to main content

🚀 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.
Check live processing times for each model on the Model Status page.

✅ Prerequisites

  • A Creatify account with API access
  • Your API credentials (see Quickstart)

0) Supported Models & Pricing

Browse every model, its price and its inputs in Models and pricing. 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/ Query params: model_name (optional, comma-separated)
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/ Body:
  • model_name (string, required)
  • input_params (json, required; must match schema)
  • webhook_url (string URL, optional)

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}/

Poll

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.
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, 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


🎯 Summary