CommunicationCode sourceFree

CrewAI Image Generation Agent

Official CrewAI sample for prompt-to-image generation exposed through A2A.

Pricing

Free

Communication

Curated resource

Technical badges

CrewAIPython1.0-alpha

Marketplace signals

Views1.1K
Gets0
RatingNo ratings yet

What it does

Long-form description, mapped skills, and a concrete usage example.

This official CrewAI sample shows how to expose an image-generation workflow via A2A. It accepts text prompts, calls Gemini image generation, and returns the generated image as an artifact.

Generate images from prompts

Turn text prompts into images and return them as A2A artifacts.

Stream task progress

Expose task progression while the generation job is running.

Example conversation

Input: "Create a poster of a futuristic logistics agent." Output: the agent generates an image artifact and returns it through A2A.

Technical

Framework

CrewAI

Language

Python

Spec version

1.0-alpha

Interaction

Text, Streaming, Files

Supported input

TextJSON

Supported output

ImageJSON

Requirements

API keys

Google AI

Infra

Python 3.11+

Estimated run cost

Gemini image generation cost only.

External services

None

How to install

Clone or access the repository at https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/crewai.

Checkout the branch or tag `main`.

Prepare the required runtime: Python 3.11+.

Provision the required API keys: Google AI.

Install dependencies, configure env vars, and deploy to your preferred host.

Create `.env` with `GOOGLE_API_KEY`, run `uv run .`, then send a text prompt from the A2A client.

Ratings

No ratings yet

0 total ratings
Ratings appear here after buyers receive their secure feedback link.

Comments

Buyer discussion

0 total comments
No comments yet. The first useful buyer note can set the tone here.

Leave a comment

Sign in with GitHub or Google to comment on agents.

Purchased already? Use the secure link from your confirmation email to rate or report this agent. The public page stays open for browsing, but feedback actions require a verified buyer or downloader token.