Generate an image with AI

Submit an AI image generation job

post/v0/studio/generateImage

Request

  • Base URL: https://api.schedulin.app
  • URL: https://api.schedulin.app/v0/studio/generateImage
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (authorization code, authorization URL https://api.schedulin.app/oauth/authorize, token URL https://api.schedulin.app/oauth/token, scopes: ai:write)

Request body

promptstring required
modelKey'flux_schnell' | 'flux_dev' | 'flux_pro_ultra'
widthinteger
heightinteger

Response

OK

generationIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.