π’πœπ«π’π©π­ πƒπžπ―π—
1.75K subscribers
65 photos
8 videos
28 files
61 links
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
New VibeCoder Bot Live 🟒

πŸ‘‰ @DevXVibeCoderBot

Try now #testing..

Note: Direct Build prompt dena hi hello mat kerna and ye Agentic hai so code me kouch change kerna hoga to next prompt me do fix kerdega
π’πœπ«π’π©π­ πƒπžπ―π—
Updated 🟒 πŸ‘‰ @MultiAiModelKeyBot Added New Models β€’ Mistral Ai ( coding model ) β€’ Image Gen Try Now⚑
βœ… Role setup
β€’ Role tells the API who is speaking.
β€’ system β†’ Defines assistant behavior
β€’ user β†’ User message
β€’ assistant β†’ Previous AI reply

βœ… History setup
β€’ History means previous chat messages.
β€’ Add old conversation again inside messages.
β€’ Messages must be in correct order (old β†’ new).
β€’ This helps API continue the same conversation.


Example 1 β€” History Only (Without System Role)
from openai import OpenAI

client = OpenAI(
base_url="https://aimodelapi.onrender.com/v1",
api_key="your-api-key"
)

response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "user", "content": "Hi"},
{"role": "assistant", "content": "Hello!"},
{"role": "user", "content": "What is Python?"}
]
)

print(response.choices[0].message.content)

Example 2 β€” Role + History
from openai import OpenAI

client = OpenAI(
base_url="https://aimodelapi.onrender.com/v1",
api_key="your-api-key"
)

response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "You are a coding assistant."},
{"role": "user", "content": "Hi"},
{"role": "assistant", "content": "Hello!"},
{"role": "user", "content": "What is Python?"}
]
)

print(response.choices[0].message.content)
❀2
Vision API Live 🟒

πŸ‘‰ https://dev-x-vision.vercel.app/apidocs

Enjoy Unlimited ❀️
❀1
π’πœπ«π’π©π­ πƒπžπ―π—
Vision API Live 🟒 πŸ‘‰ https://dev-x-vision.vercel.app/apidocs Enjoy Unlimited ❀️
2 Api Endpoints hai

1. Vision: isme sirf image anylize kerke json response milega jo tum apne kisi bhi text ai model ko pass kerke ose Vision de skate ho

2. Chat: isme normally tum chat+vision dono milga direct use kro


Goodnight 😴
❀1πŸ‘1
π’πœπ«π’π©π­ πƒπžπ―π—
Vision API Live 🟒 πŸ‘‰ https://dev-x-vision.vercel.app/apidocs Enjoy Unlimited ❀️
Smoothly working hai Vision Bas response se details ki kami hai may be bas full details response add ker rah hu jise text ai model ko complete json pass ho image ke bare me βœ…

Jise nhi smjh aarha hai o direct chat api use kerlo
❀1
Jisne Bhi Bot se ya phir vision API ka use kerke kouch banaya ho to yha comment me share kardo βœ…
π’πœπ«π’π©π­ πƒπžπ―π—
Vision API Live 🟒 πŸ‘‰ https://dev-x-vision.vercel.app/apidocs Enjoy Unlimited ❀️
β€’ Vision API
β†’ Auto Image Understanding
Image daalte hi detailed JSON (description, colors, objects, extracted text, layout, etc.) generate hota hai, aur user apne code se automatically ye JSON kisi bhi Text AI model ko pass kar sakta hai , even agar model me image support na ho tab bhi Vision enable ho jata hai.


β€’ Chat API
β†’ Text + Image Conversation
Ek hi API me chat + image dono supported hai, jisse user normal text conversation ke saath image analysis bhi directly chat flow me use kar sakta hai.