assets

Generate Asset

post/assets/generate

Request

  • Base URL: https://api.usepolymorph.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepolymorph.com/assets/generate
  • Auth: none declared

Request body

promptstring required
reference_asset_idsstring[]
aspect_ratio'1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '4:5' | '5:4' | '9:16' | '16:9' | '21:9'
image_size'1K' | '2K' | '4K'

Response

Successful Response

idstring uuid required
status'pending' | 'running' | 'succeeded' | 'failed' required
promptstring required
aspect_ratiostring required
image_sizestring required
modelstring required
reference_asset_idsstring[] required
error_messagestring nullable required
created_atstring date-time required

Changes

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