Skip to main content
POST
Generate image with Muse Image 1.0

Authorizations

Authorization
string
header
required

API key as a bearer token: Authorization: Bearer bpx_live_xxx

Body

application/json
prompt
string
required

Text description of the image to generate.

aspect_ratio
enum<string>
default:1:1

Output aspect ratio.

Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3,
2:1,
1:2,
match_input_image
num_images
integer
default:1

Number of images to generate.

Required range: 1 <= x <= 4
output_format
enum<string>
default:webp

Output image format.

Available options:
webp,
png,
jpeg
quality
enum<string>
default:high

Reasoning strength. "high" (default) refines the image over multiple passes and uses the model's search grounding fully — better output, slower. "low" responds faster. Both bill the same 12 credits per image.

Available options:
high,
low
reference_images
string[]

Optional input images (up to 4) for image editing and multi-reference composition. Each item is a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads. Omit for text-to-image. An edit follows the input image's frame unless aspect_ratio forces one.

Maximum array length: 4

Response

Job accepted.

id
string

Opaque job id — use it to poll status.

Example:

"img_a1b2c3d4e5f6"

message
string
model
string
status
enum<string>

Lifecycle state. succeeded/failed/timeout are terminal.

Available options:
pending,
starting,
processing,
completing,
succeeded,
failed,
timeout