Skip to main content
POST
Clone a subtitle profile

Authorizations

X-API-Key
string
header
required

Your Phrase Platform API token in the X-API-Key header. A missing, invalid or expired token is answered with 401. 403 means the token is valid but the action is not allowed for it.

Path Parameters

id
string<uuid>
required

Subtitle profile ID.

Response

Copy created

Rules and styling that decide how subtitles are cut and shown.

id
string<uuid>

Subtitle profile ID.

sourceProfileId
string<uuid> | null

ID of the profile this one was copied from.

name
string

Profile name.

description
string

What the profile is for.

languages
string[] | null

Languages the profile is meant for; empty or null means every language.

active
boolean

Whether the profile can be applied to projects.

default
boolean

True for items that Studio provides to every account. They cannot be edited.

shared
boolean

True for items that belong to another account of your organization; false for items you own and for Studio's defaults.

minDuration
number

Minimum duration of a subtitle in seconds.

maxDuration
number

Maximum duration of a subtitle in seconds.

maxLineCharacterCount
integer

Maximum number of characters on a line.

maxGapBetweenWords
number

Longest pause between two words that still stay in one subtitle, in seconds.

minGapFrames
integer

Minimum gap between two subtitles in frames.

subtitlePosition
enum<string>

Where subtitles are placed on the video.

Available options:
top,
bottom,
center,
right,
middle,
left
displaySpeakerNames
boolean

Whether the speaker name is shown in front of the text.

maxLinesPerScreen
integer

Maximum number of lines shown at the same time.

charactersPerSecond
number

Maximum reading speed in characters per second.

fontFamily
string

Font family: a name such as Arial, or custom:<id> for a custom font (the fontFamily value of GET /v1/fonts). A custom font that was deleted falls back to Arial in burned-in video.

fontSize
number

Font size.

fontWeight
string

Font weight.

fontStyle
string

Font style.

textAlign
string

Text alignment.

textColor
string

Text color as a CSS color.

backgroundType
enum<string>

How the text is separated from the video.

Available options:
none,
box,
outline,
wrap
backgroundColor
string

Background color as a CSS color.

verticalPositioning
boolean

Whether subtitles are positioned vertically from the edge instead of by the placement setting.

delta
number

Vertical offset of the subtitles.

deltaX
number

Horizontal offset of the subtitles.

layout
enum<string>

Video layout the profile is made for. Read only: the API does not change it.

Available options:
landscape,
portrait,
portrait_4_5
createdAt
string<date-time>

Creation time.

updatedAt
string<date-time>

Last update time.