Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate images using AI agents on Fetch.ai's Agentverse. Sends a text prompt to an image generation agent and returns the generated image URL. Handles agent discovery, relay deployment, and response parsing automatically. Requires AGENTVERSE_API_KEY env var. Use when asked to generate, create, or make an image via Agentverse.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 136% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 33% | 0% |
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.
AGENTVERSE_API_KEY environment variable setrequestsbashpython3 scripts/generate_image.py \ --prompt "A futuristic AI robot launching a rocket from a launchpad, cyberpunk style, neon colors" \ --wait 60
bashpython3 scripts/generate_image.py \ --prompt "A dragon made of circuit boards on a Tokyo rooftop at sunset" \ --agent "agent1qdynamic8lgnax37n20296xr4kcfllahlnse7gy5mrkdt4q9v9h06qkmclkl" \ --wait 60
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...", "wait_time_seconds": 35, "all_responses": [{"type": "text", "text": "Generating..."}, "..."] }
When the image comes back as an agent-storage:// URI, the response also includes public_url — a direct HTTPS URL you can open in a browser or download:
json{ "status": "success", "prompt": "A sunset over Tokyo", "image_url": "agent-storage://https://agentverse.ai/v1/storage/47cecfda-8d6f-4c21-80ab-10c4d8d052bb", "public_url": "https://agentverse.ai/v1/storage/47cecfda-8d6f-4c21-80ab-10c4d8d052bb", "metadata": {"mime_type": "image/png", "role": "generated-image"}, "target_agent": "agent1q0utywlfr3dfrfkwk4fjmtdrfew0zh692untdlr877d6ay8ykwpewydmxtl", "relay_agent": "agent1q...", "wait_time_seconds": 45, "all_responses": [...] }
> Use public_url (when present) to open or display the image. Fall back to image_url for CDN-hosted images.
--agent specified, searches for image generation agentsChatMessage with your prompt as TextContentResourceContent from response logsIf you don't specify --agent, the script uses the well-known Fetch.ai DALL-E 3 image agent:
agent1q0utywlfr3dfrfkwk4fjmtdrfew0zh692untdlr877d6ay8ykwpewydmxtlThis agent generates images using DALL-E 3 and returns them as Cloudinary URLs.
--waitagentverse-search to find alternative image agentsagentverse-chat pattern internallyOther measured skills in the registry, with their headline benchmark lift.