Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.turboads.ai/llms.txt

Use this file to discover all available pages before exploring further.

Errors

TurboAds returns JSON errors with a stable shape:
{
  "error": {
    "code": "invalid_request",
    "message": "project_id, prompt, model, aspect_ratio, and count are required."
  }
}

Common codes

HTTP statusCodeMeaning
400invalid_requestRequired fields are missing or malformed.
400invalid_modelThe selected model is not supported by the endpoint.
401unauthorizedAPI key is missing, invalid, or revoked.
403forbiddenThe requested project is outside the key’s workspace.
404not_foundThe resource does not exist or is not visible to the key.
409not_readyThe final media URL is not ready yet.
409generation_failedThe generation failed.
429rate_limitedThe API key has exceeded its rate limit.