Skip to main content
POST
Resize an image

Authorizations

x-api-key
string
header
required

Bloom API key, for example x-api-key: bloom_sk_....

Path Parameters

id
string<uuid>
required

ID of a completed image to resize

Body

application/json
targetAspectRatio
enum<string>
required

Target aspect ratio. One of "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"

Available options:
1:1,
2:3,
3:2,
3:4,
4:3,
4:5,
5:4,
9:16,
16:9,
21:9
brandSessionId
string<uuid>
required

Brand session ID (from GET /brands)

Response

OK

data
object
required