Membuat character performance Runway
Gunakan CometAPI dengan API Runway Control a character untuk memulai tugas character performance dari video referensi, menggerakkan ekspresi wajah dan gerakan tubuh.
Sebelum memanggilnya
- Kirim header
X-Runway-Versionyang wajib, misalnya2024-11-06 - Gunakan
model: act_two - Sediakan satu aset
characterdan satu asetreferencesebagai URL HTTPS yang dapat diakses - Mulai dengan
bodyControl: truedanexpressionIntensitysedang sebelum menyesuaikan gaya
Rasio output
Alur tugas
Kirim permintaan character-performance
Simpan task id yang dikembalikan
id yang dikembalikan, karena Anda membutuhkannya untuk polling nanti.Poll status tugas
Peran input
characteradalah subjek yang ingin Anda animasikanreferenceadalah klip sumber yang menyediakan performa wajah atau gerakan tubuhbodyControlmenentukan apakah transfer gerakan mencakup pergerakan tubuh selain transfer ekspresicontentModerationmenerapkan ambang moderasi provider pada permintaan
Otorisasi
Bearer token authentication. Use your CometAPI key.
Header
Runway version header, for example 2024-11-06.
Body
The character to control. You can either provide a video or an image.
Reference performance clip. Provide type (video) and uri (HTTPS URL).
Enable body control.
Intensity of the expression transfer. Higher values produce more exaggerated expressions.
Random seed for reproducible results.
The model variant to use. Must be act_two.
Requested output frame shape, for example 1280:720 or 720:1280. Keep the character and reference assets close to the requested frame shape.
Respons
Task accepted.