Create Image banner
disler disler

Create Image

Development community intermediate

Description

This command generates image(s) based on the provided prompt using Replicate.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

Repository README

This is the README for disler/agentic-drop-zones, shared by 6 entries in this directory. It describes the repository, not this entry specifically.


name: Create Image allowed-tools: Bash, mcp__replicate__create_models_predictions, mcp__replicate__get_predictions description: Generate image(s) via Replicate

Create Image

This command generates image(s) based on the provided prompt using Replicate.

Variables

DROPPED_FILE_PATH: [[FILE_PATH]] DROPPED_FILE_PATH_ARCHIVE: agentic_drop_zone/generate_images_zone/drop_zone_file_archive/ IMAGE_OUTPUT_DIR: agentic_drop_zone/generate_images_zone/image_output// - This is the directory where all images will be saved - The date_time is the current date and time in the format YYYY-MM-DD_HH-MM-SS MODEL: google/nano-banana ASPECT_RATIO: 16:9

Workflow

  • First, read DROPPED_FILE_PATH.
  • Create output directory: IMAGE_OUTPUT_DIR//
  • IMPORTANT: For every image prompt detailed in the DROPPED_FILE_PATH do the following:
- Use `mcp__replicate__create_models_predictions` with the MODEL specified above - Pass image prompt as the prompt input - Use ASPECT_RATIO for the image dimensions - Wait for completion by polling `mcp__replicate__get_predictions` - Save the executed prompts to `IMAGE_OUTPUT_DIR//image_prompt_.txt` - Use the exact prompt that was executed in the `mcp__replicate__create_models_predictions` call - Download the image: `IMAGE_OUTPUT_DIR//_.jpg` - Display: - Generation time - File size - Full path to saved image - After all images are generated, open the output directory: `open IMAGE_OUTPUT_DIR//` - When you finish generating images, move the `DROPPED_FILE_PATH` into a `DROPPED_FILE_PATH_ARCHIVE` directory