A few legacy keys that ReactVision has listed keep access for a transitional period. Every other legacy key, and every client key, is refused with 403 API_KEY_TYPE_NOT_ALLOWED.
Returns a model task and moves it on: a poll checks the provider and, when the model is ready, stores it and completes the task. Poll every few seconds. A task still unfinished after 60 minutes fails with errorModel generation timed out.
type is read back from the stored prompt, so a model made from an uploaded image without a prompt reports text. result.file_url is absent once the model has been deleted.
Not counted against the monthly API request quota.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
403
API_KEY_TYPE_NOT_ALLOWED: a client key, or a legacy key that is not on ReactVision's transitional list.
ACCESS_DENIED: a task of another team, or, for a bound key, of another project or of the team library.
404
TASK_NOT_FOUND: no such task.
429
RATE_LIMITED: for a secret key, more than 1,200 requests a minute across all operations. Wait the number of seconds in Retry-After. See Limits.
500
INTERNAL_ERROR: an unexpected error. Retry, and quote meta.request_id to support if it persists.
503
API_KEY_LOOKUP_FAILED: the key could not be checked. Retry; this does not mean the key is invalid.