Skip to main content
POST
/
api
/
v1
/
projects
/
{project_id}
/
prompts
Create Prompt
curl --request POST \
  --url https://api.example.com/api/v1/projects/{project_id}/prompts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Title": "<string>",
  "OutputType": "IMAGE",
  "PromptText": "<string>",
  "Description": "<string>"
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Body

application/json
Title
string
required
OutputType
enum<string>
required
Available options:
IMAGE,
VIDEO,
TEXT
PromptText
string
required
Description
string | null

Response

Successful Response

success
boolean
required
data
unknown