Discussions
Using an API for Talks produced a square result
I'm trying to get the API to produce a 720 x 1280 video (which is the size of the image that is referenced):
"script" = {
"type" = "audio",
"audio_url" = form.audioUrl
},
"source_url" = form.imageUrl,
"config" = {output_resolution: 1280}
I can't receive aws keyid of resul_url.
url = "https://api.d-id.com/talks"
payload = {
"script": {
"type": "text",
"subtitles": False,
"provider": {
"type": "microsoft",
"voice_id": "en-US-JennyNeural",
"voice_config": {
"style": "string",
"rate": "0.5",
"pitch": "+2st"
}
},
"input": "This is an example text",
"ssml": True
},
"config": {
# "logo": {
# "position": [0, 500],
# "url": "string"
# },
"fluent": True,
"pad_audio": 0,
"driver_expressions": {
"expressions": [
{
"start_frame": 0,
"expression": "neutral",
"intensity": 0
}
],
"transition_frames": 0
},
"align_driver": True,
"align_expand_factor": 0,
"auto_match": True,
"motion_factor": 0,
"normalization_factor": 0,
"sharpen": True,
"stitch": True,
"result_format": "mp4",
"output_resolution": 512
},
"face": {
"top_left": [0, 0],
"size": 512
},
"source_url": "source url",
"driver_url": "bank://natural",
"user_data": "string",
"name": "string",
"persist": True
}
headers = {
"accept": "application/json",
"content-type": "application/json",
"authorization": "Basic API KEY"
}
dúvida
não tem um tutorial para criar dois ou mais avatares conversando
gatting this in reponse
{
"message": "Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=amdvaGlsQHNpZ21hc29sdmUubmV0:TkQTAjOyzACw_A12BX1B-"
}
Streaming API performance
We’ve got streaming set up, and everything’s working great except it takes 3-5 secs for the avatar to start speaking after sending the text.
Full body animation
Hi, is it possible to get a full body animation? I tried with full body pictures, but only can get headshot animation.
Fuction calling.
Is the streaming agent api support fuction calling?
API Key Coding Issue
Hi there,
copyright about the avatars
Can I use avatars, making them part of my communications without any copyright issues? Could you provide information regarding the use of images when paying for the app?