Discussions

Ask a Question

About Albanian language

Can I create an avatar that speaks in Albanian the given text?

Is there a way to track user interactions?

I'm able to share my agent with others via the link and they can interact with it but how can I view these interactions?

Concurrent situation and speed

I would like to know the concurrency and video processing speed of accessing the enterprise customized API. I am looking forward to your reply!
ANSWERED

d-id agents choppy play back

I am using the demo code and I get choppy play back. Meaning the agent cannot keep up with the audio, which makes things look "off". What can i do?

video does not match the image

I created an idle video with my image. but when i connect and run the agent, the idle video and video of the agent talking is all big. the image is smaller. I am not sure how to mitigate this. Is there some type of tool I can use so my image matches the video size?
ANSWERED

D-ID could use on Dify?

I would like to develop my Chatbot on Dify. May I use D-ID Api as a tools on Dify? And D-ID be the avater to speech the content as I want. Do anyone try to do before?
ANSWERED

API integration. Please help me

I have gone through the api video and followed along and made the test calls using postman. and can get the url to my video and watch the video, but I still don't understand how I integrate into my web app? I have downloaded the code and have tried to update the source_url with my image but i still see Emma or the Or guy. Please, for the love of god, can I have a step by tutorial on how to integrate? I dont want to embed. I want to use the API. i have spent 6 hours on this.
ANSWERED

Frequent Disconnection

Hi , I understand that peer connection gets disconnected every 5 minutes if idle. I was wondering if there is any work around for this. I think i came across a reply where u can ping your server every 5 minutes. If that is the solution, can you tell me how to ping to your server ? Alternatively, if there are other solutions please let me know Thank you
ANSWERED

Text-to-Speech Stream Endpoint

Hello everyone, I am developing an app for kiosk screens. In my app, I want to greet the user with a "hello" when the camera detects a face. To achieve this, I need text-to-speech (TTS) for streams or to create a custom video. I have checked the documentation but couldn't find TTS support for streams. What should I do? Thanks!
ANSWERED

Sending Message

Hi , ![](https://files.readme.io/6ad0984b732a318ad254f58033b7aca66cd149f01f9981d6521efbaf45362aaf-image.png) ``` async function sendMessage(text: string) { try { if (streamId.current && sessionId.current && textRef.current) { const response = await fetchWithRetries( `/agents/${agentId}/chat/${chatId}`, { streamId: streamId.current, sessionId: sessionId.current, messages: [ { role: "user", content: text, created_at: new Date().toString(), }, ], } ); return response.data; } } catch (error: any) { console.log(error) } } ``` I am sending message to the agent Stream, i have created successfully all the knowledgeId, streamId, sessionId, agentId and chatId. However after certain amount of tries , it gets the BAD call error (attached at the pic). Are we limited to 15 calls per day ? If yes, how do you count the 15 calls, is it from the sessionID or is it from the user's authentication key? Please let me know. Thank you.