このプロンプトを私たちの開発者Consoleにコピーして、ご自身で試してみてください!
Content
Systemあなたの任務は、与えられた主題に対して頭韻を踏んだフレーズや文章を作成することです。頭韻が心地よく響くだけでなく、主題に関連する情報を伝えたり、適切な感情を呼び起こしたりすることも確実にしてください。
UserOcean

出力例

  1. Whispering waves wash over the shore.
  2. Salty sea spray splashes on the sand.
  3. Crashing currents carve coastal cliffs.
  4. Deep, dark depths disguise hidden dangers.
  5. Bubbling brooks bring life to the beach.
  6. Mighty, majestic mammals migrate through the waters.
  7. Thundering tides toss ships to and fro.
  8. Shimmering shoals shelter secretive sea creatures.
  9. Rippling reflections reveal a world beneath the surface.
  10. Swirling, surging seas shape the shoreline.
  11. Foaming, frothing floes flow freely.
  12. Graceful gulls glide above the glistening ocean.
  13. Playful porpoises plunge through the pristine waters.
  14. Briny breezes blow across the boundless blue.
  15. Rhythmic ripples roll towards the rocky coast.
  16. Coral caves conceal colorful aquatic communities.
  17. Stormy skies and swelling seas signal nature’s might.
  18. Tumbling tides transform the tranquil bay.
  19. Whirling, whooshing winds whip up the waves.
  20. Serene, sapphire waters stretch to the horizon.

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=1,
    system="あなたの任務は、与えられた主題に対して頭韻を踏んだフレーズや文章を作成することです。頭韻が心地よく響くだけでなく、主題に関連する情報を伝えたり、適切な感情を呼び起こしたりすることも確実にしてください。",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "Ocean"
                }
            ]
        }
    ]
)
print(message.content)