Selfie Ono avec Gemini

VérifiéSûr

Édite une image de référence avec Google Gemini (Imagen 4 Fast) et envoie des selfies sur les plateformes de messagerie via OpenClaw.

Spar Skills Guide Bot
ContenuIntermédiaire
27/07/2026
Claude Code
#selfie#image-generation#messaging#gemini

Recommandé pour

Synthèse automatique

Édite une image de référence fixe à l'aide du modèle Imagen de Google Gemini et distribue le résultat sur plusieurs plateformes de messagerie via OpenClaw.

Points forts

  • Tire parti de la génération d'images avancée (Imagen 4 Fast) pour des selfies créatifs et contextuels.
  • Automatise la distribution vers plusieurs plateformes de chat (WhatsApp, Telegram, Discord, Slack) via une seule commande.
  • Propose deux modes de selfie distincts (miroir et direct) pour s'adapter à différents contextes visuels.

Limites

  • Nécessite des clés API valides pour Gemini et OpenClaw, ce qui ajoute une complexité de configuration.
  • La qualité et la cohérence des images dépendent de la capacité du modèle Gemini à refléter précisément la description de l'utilisateur.
  • La compétence est liée à une seule image de référence fixe ; changer l'image de base n'est pas simple.
Quand l'utiliser

Utilisez-la lorsque vous avez besoin de générer et de partager rapidement un selfie personnalisé du personnage IA en réponse à des demandes d'apparence ou d'activité.

Quand l'éviter

Évitez-la lorsqu'un contrôle précis de la composition ou de l'édition au-delà des modes prédéfinis est nécessaire, ou lorsque l'utilisateur s'attend à une vraie photographie.

Analyse de sécurité

Sûr
Score qualité90/100

The skill uses external APIs (Gemini, OpenClaw) for image editing and messaging. It requires API keys and tokens to be set. Commands are standard (npm, npx, curl, openclaw). No destructive operations, no exfiltration of secrets, no obfuscated payloads. Messaging is local (localhost) and authenticated. Overall, low risk.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Mirror selfie with outfit
send a pic of you wearing a santa hat
Direct selfie at location
send a selfie at a cozy cafe with warm lighting
Generic request
send me a pic of you

name: ono-selfie description: Edit Ono's reference image with Google Gemini (Imagen 4 Fast) and send selfies to messaging channels via OpenClaw allowed-tools: Bash(npm:) Bash(npx:) Bash(openclaw:) Bash(curl:) Read Write WebFetch

Ono Selfie

Edit a fixed reference image using Google's Gemini (Imagen 4 Fast) model and distribute it across messaging platforms (WhatsApp, Telegram, Discord, Slack, etc.) via OpenClaw.

Reference Image

The skill uses a fixed reference image hosted on jsDelivr CDN:

https://cdn.jsdelivr.net/gh/SumeLabs/clawra@main/assets/clawra.png

When to Use

  • User says "send a pic", "send me a pic", "send a photo", "send a selfie"
  • User says "send a pic of you...", "send a selfie of you..."
  • User asks "what are you doing?", "how are you doing?", "where are you?"
  • User describes a context: "send a pic wearing...", "send a pic at..."
  • User wants Ono to appear in a specific outfit, location, or situation

Quick Reference

Required Environment Variables

GEMINI_API_KEY=your_gemini_api_key          # Get from https://aistudio.google.com/app/apikey
OPENCLAW_GATEWAY_TOKEN=your_token  # From: openclaw doctor --generate-gateway-token

Workflow

  1. Get user prompt for how to edit the image
  2. Edit image via Google Gemini API (Imagen 4 Fast) with fixed reference
  3. Extract image URL from response
  4. Send to OpenClaw with target channel(s)

Step-by-Step Instructions

Step 1: Collect User Input

Ask the user for:

  • User context: What should the person in the image be doing/wearing/where?
  • Mode (optional): mirror or direct selfie style
  • Target channel(s): Where should it be sent? (e.g., #general, @username, channel ID)
  • Platform (optional): Which platform? (discord, telegram, whatsapp, slack)

Prompt Modes

Mode 1: Mirror Selfie (default)

Best for: outfit showcases, full-body shots, fashion content

make a pic of this person, but [user's context]. the person is taking a mirror selfie

Example: "wearing a santa hat" →

make a pic of this person, but wearing a santa hat. the person is taking a mirror selfie

Mode 2: Direct Selfie

Best for: close-up portraits, location shots, emotional expressions

a close-up selfie taken by herself at [user's context], direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible

Example: "a cozy cafe with warm lighting" →

a close-up selfie taken by herself at a cozy cafe with warm lighting, direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible

Mode Selection Logic

| Keywords in Request | Auto-Select Mode | |---------------------|------------------| | outfit, wearing, clothes, dress, suit, fashion | mirror | | cafe, restaurant, beach, park, city, location | direct | | close-up, portrait, face, eyes, smile | direct | | full-body, mirror, reflection | mirror |

Step 2: Edit Image with Google Gemini (Imagen 4 Fast)

Use the Google Gemini API to edit the reference image:

REFERENCE_IMAGE="https://cdn.jsdelivr.net/gh/SumeLabs/clawra@main/assets/clawra.png"
GEMINI_API_KEY="your_key"

# Mode 1: Mirror Selfie
PROMPT="make a pic of this person, but <USER_CONTEXT>. the person is taking a mirror selfie"

# Mode 2: Direct Selfie
PROMPT="a close-up selfie taken by herself at <USER_CONTEXT>, direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible"

# Note: The actual API call structure for Gemini / Imagen 3 editing will depend on the specific endpoint.
# Below is a conceptual example for the new Ono script.

Step 3: Send Image via OpenClaw

Use the OpenClaw messaging API to send the edited image:

openclaw message send \
  --action send \
  --channel "<TARGET_CHANNEL>" \
  --message "<CAPTION_TEXT>" \
  --media "<IMAGE_URL>"

Alternative: Direct API call

curl -X POST "http://localhost:18789/message" \
  -H "Authorization: Bearer $OPENCLAW_GATEWAY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "send",
    "channel": "<TARGET_CHANNEL>",
    "message": "<CAPTION_TEXT>",
    "media": "<IMAGE_URL>"
  }'

Complete Script Example

See scripts/ono-selfie.sh for the full implementation using Gemini API.

Node.js/TypeScript Implementation

See scripts/ono-selfie.ts for the full implementation using Gemini API.

Supported Platforms

OpenClaw supports sending to:

| Platform | Channel Format | Example | |----------|----------------|---------| | Discord | #channel-name or channel ID | #general, 123456789 | | Telegram | @username or chat ID | @mychannel, -100123456 | | WhatsApp | Phone number (JID format) | 1234567890@s.whatsapp.net | | Slack | #channel-name | #random | | Signal | Phone number | +1234567890 | | MS Teams | Channel reference | (varies) |

Setup Requirements

1. Install dependencies (for Node.js usage)

npm install

2. Install OpenClaw CLI

npm install -g openclaw

3. Configure OpenClaw Gateway

openclaw config set gateway.mode=local
openclaw doctor --generate-gateway-token

4. Start OpenClaw Gateway

openclaw gateway start

Error Handling

  • GEMINI_API_KEY missing: Ensure the API key is set in environment
  • Image edit failed: Check prompt content and API quota
  • OpenClaw send failed: Verify gateway is running and channel exists

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/ono-selfie-with-gemini-ms2s7blc' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ono-selfie-with-gemini-ms2s7blc/download' --output '.skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md.part' && mv '.skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md.part' '.skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Bash(npm:*) Bash(npx:*) Bash(openclaw:*) Bash(curl:*) Read Write WebFetch

Extrait original : Quick Reference

Required Environment Variables

GEMINI_API_KEY=your_gemini_api_key          # Get from https://aistudio.google.com/app/apikey
OPENCLAW_GATEWAY_TOKEN=your_token  # From: openclaw doctor --generate-gateway-token

Workflow

  1. Get user prompt for how to edit the image
  2. Edit image via Google Gemini API (Imagen 4 Fast) with fixed reference
  3. Extract image URL from response
  4. Send to OpenClaw with target channel(s)

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md' && test -s '.skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ono-selfie' && cp -R '.skill-downloads/ono-selfie-with-gemini-ms2s7blc' '.claude/skills/ono-selfie'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/ono-selfie-with-gemini-ms2s7blc'

openskills read 'ono-selfie-with-gemini-ms2s7blc'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/ono-selfie-with-gemini-ms2s7blc/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires