Getting Viseme Data from API Request?

Original Discord Post by tomizawa0909 | 2024-10-10 05:28:56

Hello.
I apologize that It seems to be hard to read my question because I am Japanese developer.

I’m creating the application with Unity using Convai SDK.
I want to get Viseme Data from HTTP API request.
However, referring the documentation, Character Interaction API provides only audio data, but Convai Unity-plugin get viseme data from native jslib code.

Could you tell me the way how to get viseme data from API request if it’s supported?

Reply by tomizawa0909 | 2024-10-10 05:29:45

Hello.
I apologize that It seems to be hard to read my question because I am Japanese developer.

I’m creating the application with Unity using Convai SDK.
I want to get Viseme Data from HTTP API request.
However, referring the documentation, Character Interaction API provides only audio data, but Convai Unity-plugin get viseme data from native jslib code.

Could you tell me the way how to get viseme data from API request if it’s supported?

Reply by k3kalinix | 2024-10-10 07:44:45

Hello <@267940451137486852> :wave:t2:

Reply by tomizawa0909 | 2024-10-10 07:45:53

Hello.

Reply by k3kalinix | 2024-10-10 07:50:30

Are you using Core SDK or WebGL SDK?

Reply by tomizawa0909 | 2024-10-10 08:56:25

I use WebGL SDK.

Reply by k3kalinix | 2024-10-10 09:07:46

Viseme Data comes with Audio Data.
So there is no way to request it separately.

Reply by tomizawa0909 | 2024-10-10 09:18:04

Is threre the way to send Viseme data to NPC Lipsync component except ConvaiGRPCWebAPI?

Reply by k3kalinix | 2024-10-10 09:18:28

Why?

Reply by k3kalinix | 2024-10-10 09:19:03

What exactly are you trying to do?

Reply by tomizawa0909 | 2024-10-10 09:22:48

ConvaiGRPCWebAPI accesses ChatUI component when recieved the data.
I want to imprement the application with custom UI.

Reply by k3kalinix | 2024-10-10 09:26:53

Yes, you can create a new custom UI. It is not related to Visemes.

Please check this documentation.

Embedded Content:
Transcript UI System | Documentation
Transcript UI System - Integrate transcript UI with Convai’s Unity plugin.
Link: Transcript UI System | Documentation

Reply by tomizawa0909 | 2024-10-10 09:33:31

So, you say the way to Create custom chat application is that using those prefabs?
I thought connection/lipsync/custermize UI have to write scripts connect with API.
I was satisfied so this thread will be able to change status solved.

Reply by tomizawa0909 | 2024-10-10 09:33:37

Thank you.

Reply by k3kalinix | 2024-10-10 09:40:06

Yes, you don’t need to change any code.

Reply by k3kalinix | 2024-10-10 09:40:24

Just follow the documentation.

This conversation happened on the Convai Discord Server, so this post will be closed.