رونوشت سخنرانی زنده از یک میکروفون یا جریان زنده
نظارت و مدیریت وضعیت رونویسی با جلسات
ترجمه متن رونوشت شده به زبان دیگر
رونوشت گفتار از صدای پیشساخته شده در یک URL به متن ساده
ایجاد یک نشانه تأیید هویت موقت برای درخواستهای سمت کارگزار
گزینههای درخواست و پاسخهای مشترک برای همۀ عملیات رونوشت
یک جلسه ایجاد کنید که میتواند برای پخش یک رونوشت زنده از طریق یک پیوند عمومی قابل اشتراک استفاده شود
Transcriptionsگرفتن یک رونوشت تکیJavaScriptimport { Transcriptions } from '@vocalstack/js-sdk'; const sdk = new Transcriptions({ apiKey: 'YOUR-API-KEY' }); const transcriptions = await sdk.getAllTranscriptions(); transcriptions.data?.forEach((transcription) => { // the transcription ID (use this to get more details about the transcription) console.log(transcription.id); // 'waiting', 'processing', 'done', or 'error' console.log(transcription.status); // the time the transcription started console.log(transcription.start); // the time the transcription finalized console.log(transcription.end); // the keywords associated with the transcription console.log(transcription.keywords); // the length of the transcription in seconds console.log(transcription.duration); });
id هر زمان که براي اولين بار يک پروسه رونويسي شروع ميشه، برميگرده. با این حال، این را میتوان با نگاه کردن به تمام رونویسیها با استفاده از API بالا نیز بدست آورد. idبرای گرفتن رونوشت خاص از : Transcriptionsرونوشتهای منتظرJavaScriptimport { Transcriptions } from '@vocalstack/js-sdk'; const sdk = new Transcriptions({ apiKey: 'YOUR-API-KEY' }); const transcription = await sdk.getTranscription({ id: 'TRANSCRIPTION-ID' }); const data = transcription.data; if (data) { // the transcription ID (use this to get more details about the transcription) console.log(data.id); // 'waiting', 'processing', 'done', or 'error' console.log(data.status); // the time the transcription started console.log(data.start); // the time the transcription finalized console.log(data.end); // the keywords associated with the transcription console.log(data.keywords); // the length of the transcription in seconds console.log(data.duration); // an object with the transcription timeline console.log(data.timeline); // a summary of the transcription console.log(data.summary); // the entire transcription in paragraph form console.log(data.paragraphs); }
timeline.keywords و summaryگامهای بعدیparagraphs.