Skip to main content
POST
Trocar personagem

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
target
file
required
character
file
required
prompt
string
Maximum string length: 4000
aspectRatio
enum<string>
default:1:1
Available options:
1:1,
16:9,
9:16,
4:3,
3:4

Response

Pedido assíncrono. Consulte até completed, failed ou cancelled. Expira após 15 minutos.

id
string
status
enum<string>
Available options:
checking,
uploading,
queued,
generating,
completed,
failed,
cancelled
message
string | null
cost
integer
Example:

20

currency
string
Example:

"SWP"

expiresAt
string<date-time>