Introduction
The public REST API lets you run every AI model available in the studio from your own code — submit a generation task, poll it until it completes, and download the results.
Generation is asynchronous. POST /api/v1/generations returns a task id immediately; you then either poll GET /api/v1/tasks/:id until the task reaches a terminal status, or pass a callback_url and receive a webhook when it does (see Webhooks).
Billing is credit-based. Credits are reserved when a task is accepted and refunded automatically if it fails. Test keys never spend credits.
Base URL
https://vidocraft.com