Discussions
stream api different from studio
I'm currently experiencing a significant difference between videos created with the streaming API and those produced in the studio, mainly regarding mouth shape. Using the same image, the video made with the streaming API has inconsistent mouth shapes with very little opening and closing. However, this problem does not exist in the studio. What could be the probable reason for this?
part of the stream api use case code:
body: JSON.stringify({
script: {
type: "text",
subtitles: "false",
provider: {type: "microsoft", voice_id: human_data[human].voice_id, voice_config: {rate: human_data[human].voice_rate}},
ssml: false,
input: responseFromOpenAI //send the openAIResponse to D-id
},
config: {
fluent: true,
pad_audio: 0,
sharpen: true,
stitch: true,
result_format: "mp4"
},
"driver_url": "bank://lively/",
"session_id": sessionId
})