trumedicines_rd

trumedicines_rd / CreateTalkingAvatar / 1.0.5

README.md

Overview

Creates an animated talking head from a single photo of a person with customized text to speech​. See Christine

Usage

Inputs

  • text (required): Text (100 char limit)to be converted into an audio file for the Avatar speech.
  • image (required): Path to image file to be used for the Avatar face (.png)
  • final_out (default="data://.algo/temp/result.mp4"): Directory in which to save the final video.
  • language (default="en-us"): gTTS language to use for the speech.
  • motion (default="natural"): head motion of the Avatar ("natural" or "still").

Example

{ "text": "Hello, I am a computer generated TruMedicines talking avatar. How are you?"}

Natural motion:
naturalexample

Still motion:
stillexample

Language options:

Chinese

  • "zh-cn": Chinese (Mandarin/China)
  • "zh-tw": Chinese (Mandarin/Taiwan)

English

  • "en-us": English (US)
  • "en-ca": English (Canada)
  • "en-uk": English (UK)
  • "en-gb": English (UK)
  • "en-au": English (Australia)
  • "en-gh": English (Ghana)
  • "en-in": English (India)
  • "en-ie": English (Ireland)
  • "en-nz": English (New Zealand)
  • "en-ng": English (Nigeria)
  • "en-ph": English (Philippines)
  • "en-za": English (South Africa)
  • "en-tz": English (Tanzania)

French

  • "fr-ca": French (Canada)
  • "fr-fr": French (France)

Portuguese

  • "pt-br": Portuguese (Brazil)
  • "pt-pt": Portuguese (Portugal)

Spanish

  • "es-es": Spanish (Spain)
  • "es-us": Spanish (United States)

Example faces stored at data://trumedicines_rd/ExampleAvatarFaces:

ex1 ex2