Kishan ,
From following chat , you will know that Claude itself cannot generate an image – but it can help
Chat shows how it can
If Claude API will cost Rs 2.5 per document generation , AND , if image generation can be managed within Re 1.0 , then our total cost / document will come to Rs 3.5
In that case , we can still reduce our price from Rs 20 to Rs 5
Let me know after your examination ( of suggestion ) and trials ( if required )
Then we will decide whether to go ahead or not
With regards,
Hemen Parekh
Hey Bro : a related question ; from that API generated dcument , could you produce a relevant IMAGE , which can be embedded into the document , right at the beginning ?
5:23 PM
Hey! Great question - yes and no, depending on what you mean:
What Claude API CAN Do:
- Analyze images (read charts, extract text, understand content)
- Describe what image you need (detailed prompts for image generation)
- Work with images you provide (edit documents with existing images)
What Claude API CANNOT Do:
- Generate images directly - Claude doesn't create images itself
Your Options for Image Generation:
1. Combine Claude API + Image Generation API
- Use Claude to write the article
- Use Claude to create a detailed image prompt based on the content
- Send that prompt to an image generation service like:
- DALL-E 3 (OpenAI) - ~₹8-10 per image
- Midjourney (via API) - ~₹4-6 per image
- Stable Diffusion (self-hosted or API) - ₹2-4 per image
- Imagen (Google) - similar pricing
2. For Your Cricket Article Example: Claude could generate a prompt like:
"A dynamic split-screen illustration showing India vs Pakistan cricket rivalry - left side: Indian players in blue jerseys with aggressive batting stance, right side: Pakistani fast bowlers in green in their delivery stride, cricket stadium atmosphere, modern digital art style, energetic composition"
Then feed that to DALL-E or Midjourney.
Total Cost Per Article (Text + Image):
- Claude API: ₹2.50
- Image generation: ₹4-10
- Combined: ₹6.50-12.50 per article with custom image
Would this workflow work for YourContentCreator.in? I can help you think through the integration if you'd like!
No . I am on a shoe sting budget and cannot afford to spend more than Rs 1.0 per image
5:26 PM
Ah, gotcha - budget constraints are real! At ₹1 per image, here are your practical options:
Within ₹1 Budget:
1. Stable Diffusion (Self-Hosted)
- Cost: Nearly free (just server costs)
- Run on your own server or cheap GPU instance
- AWS/Google Cloud GPU: ~₹500-800/month for unlimited images
- If generating 1,000+ images/month, cost drops to ₹0.50-0.80 per image
- Quality is decent, but needs some prompt engineering
2. Bulk API Credits
- Some services offer prepaid bulk packages at heavy discounts
- Example: Buy 10,000 image credits upfront → per-image cost drops significantly
- Services like Leonardo.ai, Playground AI have bulk pricing around ₹1-1.5
3. Stock Photo APIs (Cheapest)
- Pexels API - Completely FREE
- Unsplash API - FREE
- Pixabay API - FREE
- Claude generates search keywords → auto-fetch relevant free stock photo
- Cost: ₹0
My Recommendation for Your Budget:
Start with FREE stock photos:
1. Claude API generates article (₹2.50)
2. Claude suggests 3-4 relevant keywords
3. Auto-fetch from Pexels/Unsplash API (₹0)
4. Total: ₹2.50 per article with image
Later, scale to self-hosted Stable Diffusion when volume justifies server costs.
Would the stock photo route work for now, or do you absolutely need custom-generated images?
No comments:
Post a Comment