Skip to main content
POST
generate image background
MCP tool: podcast_generate_image_background. OAuth scope: podcast.generate.

Authorizations

X-Api-Key
string
header
required

Headers

Idempotency-Key
string

Replay a completed identical request without repeating side effects.

Maximum string length: 128

Body

application/json

One image Podcast background

detail
string
required

Image prompt, up to 16000 characters.

Maximum string length: 16000
aspect_ratio
enum<integer>

0: 9:16, 1: 16:9, 2: 1:1; covers also accept 3: 3:4 and 4: 4:3.

Available options:
0,
1,
2,
3,
4
Required range: 0 <= x <= 4
model
enum<string>
default:nano-banana-pro

Public model name, mapped to the existing Web model.

Available options:
nano-banana,
nano-banana-pro,
gpt-image-2
quality
enum<string>

Optional GPT Image 2 quality.

Available options:
low,
medium,
high
reference_images
object[]

Optional reference images.

resolution
enum<string>
default:2K

Output resolution; uses the existing Web price for the selected model.

Available options:
1K,
2K,
4K

Response

OK

cause
string
code
integer
data
string
details
any
msg
string
rid
string