agentverse-image-genlisted
Install: claude install-skill fetchai/agentverse-skills
# Agentverse Image Generation
## Overview
Generate images by sending text prompts to AI image generation agents on Agentverse. Returns a public URL to the generated image. Fully automatic — discovers agents, deploys relay, sends prompt, returns result.
## When to Use
- User asks to "generate an image using Agentverse"
- User asks to "use an AI agent to create a picture"
- User wants AI-generated art via the Fetch.ai agent network
- User says "make me an image of..." in context of Agentverse
## Prerequisites
- `AGENTVERSE_API_KEY` environment variable set
- Python 3.8+ with `requests`
## Quick Steps
### 1. Generate an image
```bash
python3 scripts/generate_image.py \
--prompt "A futuristic AI robot launching a rocket from a launchpad, cyberpunk style, neon colors" \
--wait 60
```
### 2. With a specific agent
```bash
python3 scripts/generate_image.py \
--prompt "A dragon made of circuit boards on a Tokyo rooftop at sunset" \
--agent "agent1qdynamic8lgnax37n20296xr4kcfllahlnse7gy5mrkdt4q9v9h06qkmclkl" \
--wait 60
```
### 3. Parse the result
When the image comes back as a CDN URL (e.g. Cloudinary), `image_url` is already browser-openable:
```json
{
"status": "success",
"prompt": "A dragon made of circuit boards...",
"image_url": "https://res.cloudinary.com/fetch-ai/image/upload/v1776700090/dalle3-agent/0932ec14-...",
"metadata": {},
"target_agent": "agent1q0utywlfr3dfrfkwk4fjmtdrfew0zh692untdlr877d6ay8ykwpewydmxtl",
"relay_agent": "agent1q...",