Images
Generate an image
Submits an asynchronous image generation job to the fal.ai queue and returns the queued job immediately. Poll GET /v1/jobs/{id} for status and results. Credits are charged only when the job completes successfully.
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Maximum string length:
255Body
application/json
Response
Generation job queued
Available options:
queued, processing, completed, failed, cancelled 
