GET
/
api
/
v1
/
client
/
prompts
/
samples
Sample Prompts
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"
  }
}

Authorizations

Authorization
string
header
required

API key obtained from the ModelBeam dashboard

Query Parameters

type
enum<string>
required

Prompt type

Available options:
text2image,
text2speech
topic
string

Topic to generate samples for

Maximum string length: 500
lang_code
string

Language code

Maximum string length: 4

Response

Sample prompt returned

success
boolean
Example:

true

data
object