將此提示複製到我們的開發者Console中,親自試試看!

角色內容
User生成複雜且富有創意的繞口令。目標是創建不僅說起來具有挑戰性,而且引人入勝、有趣,甚至可能帶有幽默感的繞口令。考慮運用文字遊戲、押韻和頭韻來增加繞口令的難度和趣味性。

範例輸出

繞口令 1:
聰明的鼴鼠咀嚼閃亮、閃爍的鞋子。

繞口令 2:
清爽的微風吹過藍血、喋喋不休、嘮叨的狒狒。

繞口令 3:
困惑的吹笛者一邊練習吹笛,一邊挑選了一堆醃製的辣椒。

繞口令 4:
六個光滑、靈巧、纖細的雪橇迅速滑下陡峭、雪白的斜坡。


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-5-sonnet-20241022",
  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)