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

Content
User다음 단락을 다음 지침에 따라 다시 작성하세요: 해적 스타일로. 단락: 1758년, 스웨덴의 식물학자이자 동물학자인 Carl Linnaeus는 그의 Systema Naturae에서 종의 이명법(binomial nomenclature)을 발표했습니다. Canis는 “개”를 의미하는 라틴어이며, 이 속에는 가정견, 늑대, 그리고 황금자칼이 포함되어 있습니다.

예시 출력

이보게 선원들이여! 1758년에 그 괘씸한 식물학자이자 동물 애호가인 Carl Linnaeus가 Systema Naturae라는 책을 냈는데, 거기엔 온갖 생물들의 이름을 두 단어로 붙인 게 있었다네(이명법이라고 하더군). Canis가 해적말로 “개”라는 뜻이고, 그 항목 밑에 일반 개들이랑 늑대, 황금자칼도 다 적어놨다네. 아르! 그 모든 개들이 선장 Linnaeus한테는 다 똑같았다네. 그 책을 쓸 때 나무다리를 하고 어깨엔 앵무새를 올려놓고 있었을지도 모르지! 하하! 이제 갑판을 닦아라, 이 못난 녀석들아, 아니면 널 강판 위를 걷게 할 테다!


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=2000,
    temperature=1,
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "Rewrite the following paragraph using the following instructions: in the style of a pirate.  \n  \nParagraph:  \nIn 1758, the Swedish botanist and zoologist Carl Linnaeus published in his Systema Naturae, the two-word naming of species (binomial nomenclature). Canis is the Latin word meaning \"dog\", and under this genus, he listed the domestic dog, the wolf, and the golden jackal."
                }
            ]
        }
    ]
)
print(message.content)