Update block docs for: agent.md

This commit is contained in:
Bently
2025-01-10 12:54:27 +00:00
parent b10a275676
commit c4d38e4ff3

View File

@@ -0,0 +1,43 @@
## AI Image Generator
### What it is
A versatile tool that creates images using various AI models based on text descriptions and specified parameters.
### What it does
Transforms text descriptions into high-quality images while allowing users to control the image's size, style, and overall appearance using different AI models.
### How it works
The block takes your text description (prompt) and styling preferences, sends them to selected AI image generation models through the Replicate platform, and returns a URL containing your generated image. It supports multiple image formats and artistic styles, automatically adjusting your request to work best with each AI model.
### Inputs
- Credentials: Your Replicate API key for accessing the image generation service
- Prompt: Text description of the image you want to create (e.g., "A red panda using a laptop in a snowy forest")
- Model: Choice of AI model for image generation:
- Flux 1.1 Pro
- Flux 1.1 Pro Ultra
- Recraft v3
- Stable Diffusion 3.5 Medium
- Image Format: The shape and dimensions of your generated image:
- Square: For profile pictures and icons (1:1 ratio)
- Landscape: For traditional photos (4:3 ratio)
- Portrait: For vertical photos (3:4 ratio)
- Wide: For desktop wallpapers (16:9 ratio)
- Tall: For mobile wallpapers (9:16 ratio)
- Image Style: Visual style preference, including:
- Realistic options (standard, black & white, HDR, natural light, studio portrait)
- Digital art options (pixel art, hand-drawn, sketch, poster styles)
- Special effects (grain, motion blur, engraving)
### Outputs
- Image URL: Web address where the generated image can be accessed
- Error: Description of any problems that occurred during image generation
### Possible use cases
1. Marketing team needs custom images for social media posts
2. Designer creating mockups for website designs
3. Content creator generating unique thumbnails for blog posts
4. E-commerce platform creating product visualization concepts
5. App developer generating placeholder images for prototypes
6. Social media manager creating consistent-style posts across platforms