Skip to main content
POST
Generate image with Seedream 5.5

Seedream 5.5 on BudgetPixel

More examples, prompts and pricing.

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. Write @handle to cast a character: a BudgetPixel AI influencer or one of your own (GET /v1/characters).

aspect_ratio
enum<string>
default:1:1

Output aspect ratio.

Available options:
1:1,
4:3,
3:4,
16:9,
9:16,
2:3,
3:2,
21:9,
9:21,
match_input_image
background
enum<string>
default:opaque

Output background. "transparent" returns a cut-out PNG with an alpha channel, from a text prompt alone or from reference images (a transparent request is always a PNG).

Available options:
opaque,
transparent
num_images
integer
default:1

Number of images to generate.

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

Output image format. A transparent background is always a PNG.

Available options:
png,
jpeg
reference_images
string[]

Optional reference images (up to 10) 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. Each reference image bills 10 credits per generated image. With aspect_ratio "match_input_image" an edit keeps its input's shape.

Maximum array length: 10
size
enum<string>
default:2K

Output resolution. 1K bills 26 credits per image; 2K bills 46.

Available options:
1K,
2K

Response

Job accepted.

characters
object[]

The characters the prompt cast with @handle mentions. Absent when none.

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