Closed ratu-sh closed 2 weeks ago
Your configuration file is incorrect, it should be configured like this:
- provider: aimlapi-images
base_url: https://api.aimlapi.com/v1/chat/completions
api: 0e9ec2ae65d84929923909483ad66b0b
model:
- prompthero/openjourney: openjourney-v4
- runwayml/stable-diffusion-v1-5: stable-diffusion-v1-5
- SG161222/Realistic_Vision_V3.0_VAE: realistic-vision-v3-0
- stabilityai/stable-diffusion-2-1: stabilityai-sd-2-1
- stabilityai/stable-diffusion-xl-base-1.0: stabilityai-sdxl-1-0
- wavymulder/Analog-Diffusion: analog-diffusion
- flux/schnell: flux-schnell
- flux-pro: flux-pro
- flux/dev: flux-dev
- flux/dev/image-to-image: flux-img2img
- flux-realism: flux-realism-lora
- stable-diffusion-v3-medium: stabilityai-sd-3
- dall-e-3: dalle-3
- dall-e-2: dalle-2
tools: true
engine: dalle
preferences:
api_key_rate_limit:
default: 1500/hour
api_key_cooldown_period: 60
500 Internal Server Error {"error":"All flux-pro error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All openjourney-v4 error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All stabilityai-sd-3 error: 'RequestModel' object has no attribute 'prompt'"}
btw, you reveal my API key, so I disable it. if you need new one, i can send you
500 Internal Server Error {"error":"All flux-pro error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All openjourney-v4 error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All stabilityai-sd-3 error: 'RequestModel' object has no attribute 'prompt'"}
btw, you reveal my API key, so I disable it. if you need new one, i can send you
The prompt field is required for generating images, and if it's missing, an error will occur.
500 Internal Server Error {"error":"All flux-pro error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All openjourney-v4 error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All stabilityai-sd-3 error: 'RequestModel' object has no attribute 'prompt'"}
btw, you reveal my API key, so I disable it. if you need new one, i can send youThe prompt field is required for generating images, and if it's missing, an error will occur.
how could this field be missing through your telegram bot? bot not allow to customize this fields. i am sure that for "prompt" filed your bot takes user message
500 Internal Server Error {"error":"All flux-pro error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All openjourney-v4 error: 'RequestModel' object has no attribute 'prompt'"}
500 Internal Server Error {"error":"All stabilityai-sd-3 error: 'RequestModel' object has no attribute 'prompt'"}
btw, you reveal my API key, so I disable it. if you need new one, i can send youThe prompt field is required for generating images, and if it's missing, an error will occur.
how could this field be missing through your telegram bot? bot not allow to customize this fields. i am sure that for "prompt" filed your bot takes user message
Hello, the tg bot can only be used for chatting and cannot directly generate images. The tg bot uses external functions through llm's tools use to draw images. Currently, switching image generation models is not supported, and only dalle3 can be used. If you want the tg bot to support other image generation models, you can submit an issue in the tg bot repository. This issue will be permanently closed and will not be responded to further.