Images
Generates one standard image as base64.
Changed onGenerates one standard-resolution image with a Completion API key. Returns b64_json only. Does not support n other than 1, URL output, HD, or image edits. A detected safety refusal returns 400 with a stable content filter message.
post/openai/{region}/v1/images/generations
Request
- Base URLhttps://api.langdock.com
- URLhttps://api.langdock.com/openai/{region}/v1/images/generations
- AuthHTTP bearer
Path parameters
region'eu' | 'us' required
The region of the API to use. Must be eu or us.
Request body
Response
OK
Changes
- info
endpoint added
- info