Skip to main content
POST
Image generation

Authorizations

Authorization
string
header
required

Use a Runcrate API key with the rc_live_* prefix as the bearer token. Create one at https://www.runcrate.ai/dashboard/api-keys.

Body

application/json
model
string
required

Image model id (e.g. black-forest-labs/flux-1.1-pro).

prompt
string
required
width
integer
Required range: 256 <= x <= 2048
height
integer
Required range: 256 <= x <= 2048
aspect_ratio
string
Example:

"16:9"

num_inference_steps
integer
Required range: 1 <= x <= 100
guidance
number
response_format
enum<string>
default:url
Available options:
url,
b64_json

Response

Image URLs or base64 payloads.

created
integer
data
object[]