Submit Text To Image

Authentication

X-Api-Keystring

API key authentication via X-Api-Key header

OR
AuthorizationBearer
Bearer token authentication via Authorization header

Path parameters

modelenumRequired

Headers

Idempotency-Keystring or nullOptional

Optional opaque key, scoped per user. Reusing a key replays the original 202 response — no second enqueue, no second metering event. Choose a fresh key per logical request (UUID is the obvious pattern).

Request

This endpoint expects an object.
inputobjectRequired
webhook_urlstring or nullOptionalformat: "uri"1-2083 characters

Response

Successful Response
request_idstring
statusenum
Allowed values:
status_urlstring
response_urlstring
cancel_urlstring