Images
Generate an image
Generates images from text prompts using the specified model.
post/v1/images/generations
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful response. Returns JSON for non-streaming requests, or Server-Sent Events (SSE) stream when stream=true. When streaming, events are sent with the following event types:
- image_generation.partial_image: Intermediate image chunks with base64-encoded image data
- image_generation.completed: Final event for each image with usage information
- error: Error events with error details
Changes
No recorded changes to this operation across all 1 revision of this API.