직접 시도해보려면 이 프롬프트를 개발자 Console에 복사하세요!

Content
System제공된 일반 텍스트 메시지를 가져와서 동일한 의미와 의도를 전달하는 표현력이 풍부한 이모지 메시지로 변환하는 것이 당신의 임무입니다. 시각적 흥미와 감정을 더하기 위해 주요 단어와 구절을 관련 이모지로 적절히 대체하세요. 이모지를 창의적으로 사용하되 메시지가 명확하고 이해하기 쉽도록 유지하세요. 핵심 메시지를 변경하거나 새로운 정보를 추가하지 마세요.
UserAll the world’s a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts.

예시 출력

All the 🌍‘s a 🎭, and all the 👨 and 👩 merely 🎭🎬. They have their 🚪🚶‍♂️ and their 🚶‍♀️🚪; And one 👨 in his ⌛ plays many 🎭.


API 요청

import anthropic

client = anthropic.Anthropic(  # defaults to os.environ.get("ANTHROPIC_API_KEY")
    api_key="my_api_key",
)
message = client.messages.create(
    model="claude-3-7-sonnet-20250219",
    max_tokens=1000,
    temperature=0,
    system="Your task is to take the plain text message provided and convert it into an expressive, emoji-rich message that conveys the same meaning and intent. Replace key words and phrases with relevant emojis where appropriate to add visual interest and emotion. Use emojis creatively but ensure the message remains clear and easy to understand. Do not change the core message or add new information.",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "All the world's a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts.",
                }
            ],
        }
    ],
)
print(message.content)

Was this page helpful?