Create Image
Generate an image from a text prompt using the specified model.
X-API-Key<token>
Project-scoped Nebul API key. Also accepted as Authorization: Bearer <key>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/images/generations" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string" }'{ "created": 0, "data": [ { "b64_json": "string", "url": "string" } ], "background": "string", "output_format": "string", "size": "string", "quality": "string", "usage": {}}