Skip to main content

D-ID

D-ID is a Generative AI service that generates talking avatars. You can select one of the available avatars and provide a script or text. D-ID will then generate a video of the avatar speaking the text.

The D-ID provider allows you to generate assets using the Create API and includes the following services:

  • Text to Avatar: Generate a talking avatar who will narrate the provided text.

Setup

Sign up for a trial account with D-ID to get started and then go to the account settings page to generate an API key.

Adding credentials

Login to the dashboard and navigate to the integrations page, find the D-ID integration under Generative AI and click configure.

Enter the D-ID API key (token) as shown below. You can add different keys for each Shotstack environment; sandbox and v1 (production).

D-ID credentials

Services

The D-ID provider includes is a single service:

Text to avatar

Generate a talking avatar video using a provided script.

Using the Create API the following payload can be used to generate a video file:

{
"provider": "d-id",
"options": {
"type": "text-to-avatar",
"avatar": "jack",
"text": "Hi, I'm Jack and I'm a talking avatar generated by D-ID using the Shotstack Create API",
"background": "#000000"
}
}

This will generate an mp4 video file using the jack avatar and the text provided. The background has been set to #000000 and is optional. For the full list of avatars refer to the D-ID options in the API reference documentation.