API for image and video generation

Anything you do on the site can be called from code: start a generation, learn the price in advance, receive the finished file by webhook. One key, one balance, no separate contracts with model vendors.

  • No subscription
  • Price shown before you run
  • Refund if a generation fails

Get an API key

How it works

  1. Create a key in your account and set permissions and a daily spending cap.
  2. Call the price quote and run a generation or preset with a request to /v1.
  3. Get the result by polling or by a webhook signed with HMAC.

Good to know

Price before you run

A separate quote request returns the cost of the job and you decide whether to run it. No surprise charges.

Keys with permissions and a cap

Each key is limited by permissions and a daily spend, and can be revoked in your account. Handy for contractors and scripts.

For assistants

The service connects to assistants as a connector over OAuth: it reads your balance and feed and runs jobs with your approval.

Price

The same prices as the site: from $0.005 per image and from $0.16 per clip. There is no separate fee for API access.

FAQ

Where is the documentation?

On the /api page: requests, response codes, examples and the webhook format.

Is there idempotency?

Yes, a repeated request with the same idempotency key does not create a second job or charge twice.

How is a webhook verified?

By an HMAC-SHA256 signature in a header, with the secret set on the key.

Can I cap spending?

Yes, every key has its own daily cap.

API for image and video generation

Get an API key

See also

Models that do this

All models and prices · Video models · Image models

Home · Ready-made presets