This skill provides techniques for prompting image models using the Replicate API. It is designed for developers and users looking to enhance how they generate images using AI models.
$ npx skills add https://github.com/replicate/skills --skill prompt-imagesThis skill teaches prompting techniques specifically designed for image generation and editing models on the Replicate platform. It helps developers and creators craft effective prompts to improve image quality, control outputs, and unlock model capabilities. By learning Replicate's best practices for image prompting, users can generate higher-quality visuals, iterate faster, and build more sophisticated AI-powered applications. The skill complements Replicate's broader toolkit for finding, comparing, and running image models at scale.
Install with `$ npx skills add https://github.com/replicate/skills --skill prompt-images`
Choosing the right image model from the Replicate API
Writing effective natural language prompts for better model outputs
Comparing features and pricing of different image models
$ npx skills add https://github.com/replicate/skills --skill prompt-imagesgit clone https://github.com/replicate/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate an image using the Replicate API with the following prompt: '[PROMPT]' and model '[MODEL_NAME]'. Use the following parameters: --width [WIDTH] --height [HEIGHT] --num_outputs [NUM_OUTPUTS] --seed [SEED]. Return the image URL and a brief description of the visual style and elements.
Here’s your generated image from the Replicate API: **Image URL:** `https://replicate.delivery/pbxt/abc123/output.png` **Visual Description:** A futuristic cyberpunk cityscape at dusk, with neon-lit skyscrapers reflecting off rain-slicked streets. Holographic billboards display Japanese characters, and flying cars zip between buildings. The color palette is dominated by deep blues, purples, and vibrant pinks, with a cinematic, high-contrast lighting style reminiscent of Blade Runner 2049. **Model Used:** `stability-ai/stable-diffusion:latest` **Parameters:** - Dimensions: 1024x768 - Outputs: 1 - Seed: 42
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan