وصفات

سرد قصة

اقرأ قصة بأسلوب السرد القصصي، مع لحظات هامسة وأخرى خائفة.

اسرد بأسلوب storytelling وغيّر الأداء في لحظات مفردة من الحبكة. الوسوم مشروحة في المشاعر وأسلوب الإلقاء.

اسرد بأسلوب storytelling

ابدأ القصة بـ[storytelling]. ويسري حتى الوسم التالي.

حدد اللحظات

ضع [whisper] قبل السطر الهادئ و[fearful] قبل السطر المتوتر، ثم ارجع إلى [storytelling]. غيّر text فقط في تشغيل الكلام أثناء البث:

const text =
  "[storytelling] The old lighthouse keeper climbed the stairs one last time. " +
  "[whisper] Somewhere below, a door creaked open. " +
  "[fearful] He held his breath and listened. " +
  "[storytelling] It was only the wind, carrying the sound of the sea.";

for await (const chunk of client.synthesizeStream(text, {
  voice_id: voice.id,
  model: TtsModel.Nebula,
  timeoutSeconds: 30,
})) {
  process.stdout.write(chunk.audio);
}

وللاستغناء عن الرجوع، أحِط اللحظة بدلًا من ذلك: <emotion value="whisper">Somewhere below, a door creaked open.</emotion>. ويُستأنف السرد بعد وسم الإغلاق.

اللغةالنص المُرسَلاستمع
العربية[storytelling] صعد حارس المنارة العجوز الدرج للمرة الأخيرة. [whisper] في مكان ما بالأسفل، صرّ باب وهو ينفتح. [fearful] حبس أنفاسه وأصغى. [storytelling] لم تكن سوى الريح، تحمل صوت البحر.
الإنجليزية[storytelling] The old lighthouse keeper climbed the stairs one last time. [whisper] Somewhere below, a door creaked open. [fearful] He held his breath and listened. [storytelling] It was only the wind, carrying the sound of the sea.

أرسل القصص الطويلة على أجزاء

لكل طلب حد للأحرف، ولا ينتقل الأداء إلى الطلب التالي. قسّم القصة الطويلة عند فواصل الفقرات، وابدأ كل جزء بوسمه.

القواعد والقيود: مرجع المشاعر وأسلوب الإلقاء.

في هذه الصفحة