POST /ai/image_generation

post/ai/image_generation

Request

  • Base URL: https://api.jigsawstack.com/v1
  • URL: https://api.jigsawstack.com/v1/ai/image_generation
  • Auth: API key in header x-api-key

Request body

promptstring required
aspect_ratio'1:1' | '16:9' | '21:9' | '3:2' | '2:3' | '4:5' | '5:4' | '3:4' | '4:3' | '9:16' | '9:21'
widthnumber nullable
heightnumber nullable
stepsnumber
output_format'png' | 'svg'
urlstring nullable
file_store_keystring nullable
return_type'url' | 'base64' | 'binary'

Response

Successful response

successboolean

Whether the request was successful

dataobject

Response data

Changes

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