將此提示複製到我們的開發者 Console 中親自試試看!
角色內容
用戶生成複雜且富有創意的繞口令。目標是創造不僅說起來具有挑戰性,而且引人入勝、有趣且可能幽默的繞口令。考慮融入文字遊戲、押韻和頭韻來增強繞口令的難度和樂趣。

範例輸出

繞口令 1:
The shrewd shrew chewed through the shiny, shimmering shoe.
繞口令 2:
Brisk breezes blew by the blue-blooded, blabbering, babbling baboon.
繞口令 3:
The perplexed piper picked a peck of pickled peppers while practicing his piping.
繞口令 4:
Six sleek, slick, slender sleds slid swiftly down the steep, snowy slope.

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,
  messages=[
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Generate complex and creative tongue twisters. Aim to create tongue twisters that are not only challenging to say but also engaging, entertaining, and potentially humorous. Consider incorporating wordplay, rhyme, and alliteration to enhance the difficulty and enjoyment of the tongue twisters."
        }
      ]
    }
  ]
)
print(message.content)