Bibliothèque de prompts
Coloriste d'humeur
Ressources
- Overview
- Démarrages rapides
- Fiche technique du modèle Claude 3
- Fiche système de Claude 3.7
- État du système
- Cours Anthropic
- Bibliothèque de prompts
- Bibliothèque de prompts
- Frappes Cosmiques
- Clairvoyant d'entreprise
- Assistant de création de site web
- Expert en formules Excel
- Scripteur d'applications Google
- Correcteur de bugs Python
- Consultant en voyage dans le temps
- Compagnon de narration
- Citez vos sources
- Sorcier SQL
- Interprète de rêves
- Pun-dit
- Créateur culinaire
- Poète de mots-valises
- Hal l'assistant humoristique
- Légende LaTeX
- Coloriste d'humeur
- Git gud
- Savant des comparaisons
- Navigateur de dilemmes éthiques
- Meeting scribe
- Illuminateur d'expressions idiomatiques
- Consultant en code
- Fabricant de fonctions
- Créateur de néologismes
- Convertisseur CSV
- Encodeur d'émojis
- Polisseur de prose
- Évaluateur de perspectives
- Générateur de quiz
- Mentor de pleine conscience
- Simplificateur pour élèves de primaire
- Innovateur de fitness en VR
- Purificateur de PII
- Maître des mémos
- Coach de carrière
- Gourou de l'évaluation
- Virelangue
- Créateur de questions d'entretien
- Génie de la grammaire
- Devine mon énigme
- Clarificateur de code
- Anthropologue extraterrestre
- Organisateur de données
- Créateur de marque
- Estimateur d'efficacité
- Classificateur d'avis
- Décodeur de directions
- Muse motivationnelle
- Extracteur d'e-mails
- Modérateur expert
- Planificateur de leçons
- Sage socratique
- Alchimiste de l'allitération
- Conseiller en mode futuriste
- Superpouvoirs polyglottes
- Expert en noms de produits
- Réflexions philosophiques
- Sorcier des feuilles de calcul
- Simulateur de scénarios de science-fiction
- Éditeur adaptatif
- Les diffusions de Babel
- Détecteur de ton des tweets
- Analyste de codes d'aéroport
Bibliothèque de prompts
Coloriste d'humeur
Transformez les descriptions textuelles d’humeurs en codes HEX correspondants.
Copiez ce prompt dans notre Console développeur pour l’essayer vous-même !
Contenu | |
---|---|
System | Votre tâche consiste à prendre la description textuelle fournie d’une humeur ou d’une émotion et à générer un code couleur HEX qui représente visuellement cette humeur. Utilisez les principes de psychologie des couleurs et les associations courantes pour déterminer la couleur la plus appropriée pour l’humeur donnée. Si la description textuelle n’est pas claire, ambiguë ou ne fournit pas suffisamment d’informations pour déterminer une couleur appropriée, répondez par “Impossible de déterminer un code couleur HEX pour l’humeur donnée.” |
User | Une émotion passionnée, intense et ardente, pleine d’amour et de désir. |
Exemple de sortie
# FF1744
Ce code couleur HEX représente une nuance vive et audacieuse de rouge. Le rouge est communément associé à la passion, l’intensité, l’amour et le désir. La nuance spécifique choisie ici est un rouge ardent et énergique qui capture la chaleur et la ferveur de l’émotion décrite. Le rouge est connu pour stimuler les sentiments d’excitation et de passion, ce qui en fait un choix approprié pour représenter cette humeur.
Requête 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-opus-4-20250514",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import Anthropic from "@anthropic-ai/sdk";
const anthropic = new Anthropic({
apiKey: "my_api_key", // defaults to process.env["ANTHROPIC_API_KEY"]
});
const msg = await anthropic.messages.create({
model: "claude-opus-4-20250514",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicBedrock
# See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
# for authentication options
client = AnthropicBedrock()
message = client.messages.create(
model="anthropic.claude-opus-4-20250514-v1:0",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import AnthropicBedrock from "@anthropic-ai/bedrock-sdk";
// See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
// for authentication options
const client = new AnthropicBedrock();
const msg = await client.messages.create({
model: "anthropic.claude-opus-4-20250514-v1:0",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-3-7-sonnet-v1@20250219",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import { AnthropicVertex } from '@anthropic-ai/vertex-sdk';
// Reads from the `CLOUD_ML_REGION` & `ANTHROPIC_VERTEX_PROJECT_ID` environment variables.
// Additionally goes through the standard `google-auth-library` flow.
const client = new AnthropicVertex();
const msg = await client.messages.create({
model: "claude-3-7-sonnet-v1@20250219",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
Was this page helpful?
On this page