cURL
curl --request GET \ --url http://localhost:8000/api/v1/client/prompts/samples \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "type": "text2image", "prompt": "A serene mountain landscape at golden hour with mist rolling through pine valleys" } }
Get sample prompts for image or speech generation.
API key obtained from the ModelBeam dashboard
Prompt type
text2image
text2speech
Topic to generate samples for
500
Language code
4
Sample prompt returned
true
Show child attributes