Skip to main content
POST
Create text animation

Authorizations

Authorization
string
header
required

Your Kynva API key (kyn_live_xxx or kyn_test_xxx; legacy rf_ keys remain valid)

Body

application/json
templateId
string
required

ID of the template to animate

textAnimations
object[]
required
Required array length: 1 - 20 elements
emotionPreset
enum<string>

Emotion preset to apply (sets animation style, timing, and effects). Overridable by explicit animation settings.

Available options:
urgent,
calm,
playful,
dramatic,
rebellious,
luxurious,
nostalgic,
chaotic
modifications
array

Layer modifications to apply

variables
object

Variables for template interpolation (e.g., { headline: "My Title" } replaces {{headline}})

stylePreset
string

Style preset ID to apply creativity effects

totalDuration
number

Total animation duration in ms (auto-calculated if not provided)

Required range: 100 <= x <= 60000
fps
number
default:30
Required range: 5 <= x <= 60
format
enum<string>
default:gif
Available options:
gif,
mp4

Response

200 - application/json

Text animation created successfully

Text animation created successfully

success
boolean
data
object