import anthropicclient = 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=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)