Update block docs for: pinecone.md

This commit is contained in:
Bently
2025-01-10 11:10:33 +00:00
parent c73da1f79c
commit 8bf977958a

View File

@@ -0,0 +1,33 @@
## Replicate Flux Advanced Model
### What it is
An advanced AI image generation block that creates images from text descriptions using various Flux models (Flux Schnell, Flux Pro, or Flux Pro 1.1) through the Replicate platform.
### What it does
This block transforms text descriptions into high-quality images while offering extensive customization options for the generation process. Users can control various aspects of the image generation, including image quality, style, and safety parameters.
### How it works
The block takes a text prompt and various customization parameters, sends them to the selected Flux model on Replicate's platform, and returns a URL to the generated image. It handles all the technical aspects of communicating with the AI model and ensuring proper image generation.
### Inputs
- Credentials: Replicate API key needed to access the service
- Prompt: The text description of the image you want to generate
- Image Generation Model: Choice between Flux Schnell, Flux Pro, or Flux Pro 1.1 models
- Seed: Optional number for reproducible results
- Steps: Number of refinement steps in the generation process (default: 25)
- Guidance: Balance between prompt accuracy and image quality (default: 3)
- Interval: Controls output variance and prompt following (default: 2)
- Aspect Ratio: Image dimensions ratio (options: 1:1, 16:9, 2:3, 3:2, 4:5, 5:4, 9:16)
- Output Format: Image file format (WEBP, JPG, or PNG)
- Output Quality: Image quality setting from 0-100 (default: 80)
- Safety Tolerance: Content safety level from 1 (strict) to 5 (permissive)
### Outputs
- Result: URL link to the generated image
- Error: Error message if something goes wrong during generation
### Possible use case
A marketing team needs to create unique visuals for a campaign. They could use this block by entering a prompt like "A futuristic cityscape at sunset" and adjusting parameters such as aspect ratio for different social media platforms. The block would generate professional-quality images that match their description, which they can then download and use in their marketing materials.