Skip to main content
POST
/
styles
Create custom style
curl --request POST \
  --url https://rawugc.com/api/v1/styles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Product Unboxing",
  "type": "video",
  "aspectRatio": "portrait",
  "promptTemplate": "Show {character} unboxing {productName}. {messaging}"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY

Body

application/json
name
string
required

Style name

Required string length: 1 - 200
description
string

Style description

Maximum string length: 1000
type
enum<string>

Style type

Available options:
video,
image
aspectRatio
enum<string>

Output aspect ratio

Available options:
portrait,
landscape,
square
promptTemplate
string

Prompt template with {productName}, {messaging}, {character} placeholders

Maximum string length: 5000

Response

Style created

id
string