Private
Public Access
1
0

v を更新

2026-01-03 22:45:43 +00:00
parent b8cf8d1d14
commit 1e4feb09df

25
v.md

@@ -109,3 +109,28 @@ fn blink(socket: &UdpSocket, target: &str, value: f32) {
socket.send_to(&buf, target).unwrap();
}
```
## AI + character + game
Talk to the characters.
The characters act on their own initiative.
### character voice
`elevenlabs.io`: https://elevenlabs.io/docs/api-reference/authentication
```json
{
"elevenlabs": {
"model": "eleven_turbo_v2.5",
"voice_id": "lhTvHflPVOqgSWyuWQry"
}
}
```
### voice to text
`Cloud Speech-to-Text API`: https://docs.cloud.google.com/speech-to-text/docs/quickstarts/transcribe-api
### AI