このプロンプトを私たちの開発者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-sonnet-4-5",
    max_tokens=1000,
    temperature=0,
    system="あなたのタスクは、提供されたプレーンテキストメッセージを受け取り、同じ意味と意図を伝える表現豊かで絵文字が豊富なメッセージに変換することです。適切な場所で重要な単語やフレーズを関連する絵文字に置き換えて、視覚的な興味と感情を追加してください。絵文字を創造的に使用しますが、メッセージが明確で理解しやすいままであることを確認してください。核となるメッセージを変更したり、新しい情報を追加したりしないでください。",
    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)