Generate Image
Images
Generate Image
OpenAI-compatible image generation endpoint.
Note: The image response may not render in GitBook’s “Test it” panel. To view the generated image, try this endpoint with Postman, curl, or another HTTP client.
POST
Generate Image
Authorizations
Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.
Body
application/json
Required range:
1 <= x <= 10Available options:
url, b64_json Available options:
png, jpeg, webp Required range:
0 <= x <= 100Available options:
transparent, opaque, auto Available options:
low, auto Required range:
0 <= x <= 3Required range:
-1 <= x <= 2147483647Available options:
auto, disabled Required range:
1 <= x <= 10Response
Successful Response