Discussions

Ask a Question
Back to All

How can I make the talks/streams return streams of a specific resolution?

Hello everyone, I'm developing an application based on WebRTC where I pass a full-body photo in a 9:16 aspect ratio and use the "talks/streams" interface to make the photo talk.

I have managed to render the streams returned by WebRTC, but the "talks/streams" interface keeps returning images in a 1:1 aspect ratio with a size of 512x512. I would like to receive frames from the original photo resolution. How can I configure this?

I have reviewed the API documentation, and it seems that setting the "stich" parameter to true in the "talks/streams" interface's config does not have any effect. However, if I call the "https://api.d-id.com/talks" endpoint with "stich" set to true, it returns video with the original photo resolution. I would like "talks/streams" to return streams with the same resolution. Thank you all.