Skip to main content
POST
cURL

Models and pricing

model_name picks the model and input_params carries its settings. Each model accepts different fields and has its own price.

Models and pricing

Every model, grouped by family, with its price in credits.

Model input schemas

Fetch the JSON schema for each model’s input_params at runtime.
Each model page lists its full price table, a ready-to-run request and every input parameter with its allowed values and default.

Authorizations

X-API-ID
string
header
required

API ID, from your settings page.

X-API-KEY
string
header
required

API Key, from your settings page.

Body

model_name
string
required

Name of the AI generation model.

Maximum string length: 255
input_params
any
required

Parameters for generation

webhook_url
string<uri>

Webhook URL

Response

201 - application/json
id
string<uuid>
required
read-only
model_name
string
required
read-only

Name of the AI generation model used.

gen_type
string
required

Type of the AI generation model used.

failed_reason
string
required
read-only

Reason for failure if the generation failed.

assets
string
required
read-only

List of generated assets.

duration
integer
required
read-only
input_params
object
required
read-only

Input parameters used for AI generation.

api_key_id
string<uuid> | null
required
read-only

ID of the API key that created this generation.

api_key_name
string | null
required
read-only

Name of the API key that created this generation.

credits_used
number
required
read-only

Credits used in this API call

created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
status
enum<string>
  • initializing - initializing
  • generating - generating
  • done - done
  • failed - failed
Available options:
initializing,
generating,
done,
failed
aspect_ratio
string | null

Aspect ratio of the asset

Maximum string length: 128
output_nums
integer

Number of outputs

Required range: -2147483648 <= x <= 2147483647
resolution
string | null

e.g., 1080x1920

Maximum string length: 128
webhook_url
string<uri> | null

Webhook URL for status updates. Default is null.

Maximum string length: 200