Create Sync Generation

Run a generation and return the finished result in the same response. Only sync-capable models are accepted. The request may take up to ~27 seconds before the service times out.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for a synchronous generation

string
enum
required

Must be remove-bg.

Allowed:
boolean

Whether the generated images should show in the community feed. Ignored when ephemeral is true.

parameters
object

Architecture properties of the Remove Background model

boolean
Defaults to false

When true, the result is not persisted to the library and the response URL is a 30-minute presigned GET.

boolean
Defaults to false

When true, return results[].dataB64 instead of results[].url. The request fails if the encoded payload would exceed the response size limit.

Response

Language
Credentials
Bearer
auth-scheme
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json