cURL
curl --request POST \ --url https://aiproxy.infaas-amd-dev.glo1.nscale.com/v1/images/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json; charset=utf-8' \ --data ' { "model": "black-forest-labs/FLUX.1-schnell", "n": 1, "prompt": "A serene mountain landscape at sunset with a lake reflecting the orange sky", "size": "1024x1024" } '
{ "created": 123, "data": [ { "b64_json": "<string>" } ] }
Creates an image based on the provided text prompt.
Documentation IndexFetch the complete documentation index at: https://docs.nscale.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.nscale.com/llms.txt
Use this file to discover all available pages before exploring further.
Security scheme that accepts Unikorn Identity JWTs.
Show child attributes
Was this page helpful?