Remix Image
Generates an AI image using the a remix image and a provided prompt.
This operation costs 1 credit.
Endpoint
model_id
string
Yes
Unique identifier of the model.
artwork_image
binary
Yes
Image to be used as artwork.
mask_image
binary
Yes
Image containing the mask.
prompt
string
No
Prompt to use. Defaults to "".
negative_prompt
string
No
Negative Prompt to use. Defaults to "".
mode
string
No
Options: "sync" or "async". Defaults to "sync".
Bearer
Bearer token authentication uses a token to access APIs. Include the token in your request header as Authorization: Bearer YOUR_SECRET_API_KEY
to authenticate your requests.
Sync mode
The API's mode
parameter can be sync
or async
. Sync mode provides immediate results and is easy to implement. Async mode allows the client to perform other tasks while waiting.
Request Example
Response
Upon successful generation, the API returns the following response:
Last updated