Create a phoneme
This endpoint creates a phoneme.
HTTP Request
POST https://app.resemble.ai/api/v2/phonemes
JSON Body Parameters | Type | Description |
---|---|---|
word | string | text being transcribed e.g pressure |
phonetic_transcription | string | IPA transcription e.g ˈprɛʃər |
HTTP Response
{
"success": true,
"item": {
"uuid": <string>,
"alphabet": <string>,
"word": <string>,
"phonetic_transcription": <string>,
"created_at": <UTC Date>,
"updated_at": <UTC Date>,
}
}
Examples
NodeJS
1
2
3
4
5
6
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
const response = Resemble.v2.phonemes.create('Vodaphone', 'Voduhphone')
const phoneme = response.item
API Key:
JSON Body: