Generate background
generate_image_backgroundGenerate a photo for 1 credit to go behind a social image, from a description of the scene. Only when the user asks for a photo, picture or background. Describe the scene, the light and where to leave empty space for the headline; never ask for text, words or logos in it. size is the canvas it will go on. Returns a file_id for generate_og_image's background_file_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Where the image will be posted. Sizes: 'og' 1200x630 (The card X, LinkedIn, Slack and iMessage show under a link); 'square' 1080x1080 (An Instagram, LinkedIn or Facebook feed post); 'portrait' 1080x1350 (A taller Instagram or LinkedIn feed post); 'story' 1080x1920 (An Instagram or Facebook story, or a Reels cover); 'landscape' 1280x720 (A YouTube thumbnail or a 16:9 slide); 'facebook_cover' 1640x624 (A Facebook page or profile cover photo, shown at 820 by 312); 'linkedin_banner' 1584x396 (The background image on a LinkedIn profile); 'x_header' 1500x500 (The header image on an X profile). Left out it is 'og'. | |
| prompt | Yes | The scene, in a sentence or two. |