Skip to main content
POST

Authorizations

Authorization
string
header
required

Modular Cloud API token. Obtain from the API Tokens page.

Body

application/json
model
string
required

Model identifier. See the supported models page.

Example:

"black-forest-labs/FLUX.2-dev"

input
required

Model input. Pass a plain string for text-to-image/video, or a structured content array for image-to-image/video.

seed
integer

Random seed for reproducible outputs.

provider_options
object

Response

200 - application/json

Response object containing generated content.

id
string
required
object
string
required
model
string
required
output
object[]
required