cURL
curl --request POST \ --url https://api.bieapi.com/v1/images/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "dall-e-3", "prompt": "A painting of a cat." } '
{ "id": "<string>", "object": "<string>", "created": 123, "image": "<string>" }
This endpoint generates an image from OpenAI’s models.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The model to use (e.g., dall-e-2-mini).
dall-e-2-mini
Prompt for the image generation.
Successful response
Unique ID of the response.
Type of the response object.
Timestamp of the response creation.
URL of the generated image.