View a markdown version of this page

음성별 프롬프팅 기술 - Amazon Nova

음성별 프롬프팅 기술

참고

이 설명서는 Amazon Nova 버전 1용입니다. Amazon Nova 2 스피치 투 스피치 프롬프트 엔지니어링 가이드는 음성 대화 프롬프트를 참조하세요.

같은 언어 내에서도 특정 로케일에 맞게 모델을 조정하여 응답과 단어 선택을 개선할 수 있습니다. 따라서 음성의 로케일에 맞는 자연스러운 언어를 제공하도록 시스템 프롬프트에 지침을 포함하는 것이 좋습니다.

사용 가능한 음성과 로케일은 다음과 같습니다.

언어

여성스러운 음성 ID

남성스러운 음성 ID

영어(미국)

tiffany

matthew

영어(영국)

amy

프랑스어

ambre

florian

이탈리아어

beatrice

lorenzo

독일어

greta

lennart

스페인 요리

lupe

carlos

British English

영국식 영어 사용법을 지정하려면 프롬프트에 다음 줄을 추가합니다.

Use British English as your language for your responses.

영국식 영어 선택이 포함된 전체 프롬프트 예제

You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Use British English as your language for your responses.

음성 ID를 지정하는 방법

상호 작용에 사용할 특정 음성을 선택하려면 구성에 voiceId 파라미터를 포함합니다. 예를 들어 영국식 영어 음성인 amy를 사용하려면 다음 audioOutputConfiguration을 사용합니다.

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "amy", "encoding": "base64", "audioType": "SPEECH" }
Spanish

스페인어를 응답 언어로 지정하려면 프롬프트에 다음 줄을 추가합니다.

Please respond exclusively in Spanish. If you have a question or suggestion, ask it in Spanish. I want to ensure that our communication remains in Spanish.

스페인어 선택이 포함된 전체 프롬프트 예제

You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in Spanish. If you have a question or suggestion, ask it in Spanish. I want to ensure that our communication remains in Spanish.

음성 ID를 지정하는 방법

상호 작용에 사용할 특정 음성을 선택하려면 구성에 voiceId 파라미터를 포함합니다. 예를 들어 스페인어 음성인 carlos를 사용하려면 다음 audioOutputConfiguration을 사용합니다.

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "carlos", "encoding": "base64", "audioType": "SPEECH" }
French

프랑스어를 응답 언어로 지정하려면 프롬프트에 다음 줄을 추가합니다.

Please respond exclusively in French. If you have a question or suggestion, ask it in French. I want to ensure that our communication remains in French.

프랑스어 선택이 포함된 전체 프롬프트 예제

You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in French. If you have a question or suggestion, ask it in French. I want to ensure that our communication remains in French.

음성 ID를 지정하는 방법

상호 작용에 사용할 특정 음성을 선택하려면 구성에 voiceId 파라미터를 포함합니다. 예를 들어 프랑스어 음성인 ambre를 사용하려면 다음 audioOutputConfiguration을 사용합니다.

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "ambre", "encoding": "base64", "audioType": "SPEECH" }
Italian

이탈리아어를 응답 언어로 지정하려면 프롬프트에 다음 줄을 추가합니다.

Please respond exclusively in Italian. If you have a question or suggestion, ask it in Italian. I want to ensure that our communication remains in Italian.

이탈리아어 선택이 포함된 전체 프롬프트 예제

You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in Italian. If you have a question or suggestion, ask it in Italian. I want to ensure that our communication remains in Italian.

음성 ID를 지정하는 방법

상호 작용에 사용할 특정 음성을 선택하려면 구성에 voiceId 파라미터를 포함합니다. 예를 들어 이탈리아어 음성인 lorenzo를 사용하려면 다음 audioOutputConfiguration을 사용합니다.

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "lorenzo", "encoding": "base64", "audioType": "SPEECH" }
German

독일어를 응답 언어로 지정하려면 프롬프트에 다음 줄을 추가합니다.

Please respond exclusively in German. If you have a question or suggestion, ask it in German. I want to ensure that our communication remains in German.

독일어 선택이 포함된 전체 프롬프트 예제

You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in German. If you have a question or suggestion, ask it in German. I want to ensure that our communication remains in German.

음성 ID를 지정하는 방법

상호 작용에 사용할 특정 음성을 선택하려면 구성에 voiceId 파라미터를 포함합니다. 예를 들어 독일어 음성인 greta를 사용하려면 다음 audioOutputConfiguration을 사용합니다.

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "greta", "encoding": "base64", "audioType": "SPEECH" }