OpenAI Integration
Create image
Generates images from text prompts using OpenAI-compatible format.
Note: Azure OpenAI deployments are also supported via the Azure integration endpoint.
Note: This endpoint also works without the /v1 prefix (e.g., /openai/images/generations).
post/openai/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, each event contains a chunk of the image as base64 data, with the final event having type image_generation.completed.
Changes
No recorded changes to this operation across all 1 revision of this API.