mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-08-03 13:27:16 +03:00
gpt-image-1 supports multiple images per request and the sizes 1024x1024, 1536x1024, 1024x1536 and auto. Update the comments accordingly.
14 lines
1018 B
YAML
14 lines
1018 B
YAML
telegram_token: ""
|
|
openai_api_key: ""
|
|
openai_api_base: null # leave null to use default api base or you can put your own base url here
|
|
openrouter_api_key: "" # optional: needed only for models with "provider: openrouter" in models.yml (e.g. Claude)
|
|
openrouter_api_base: "https://openrouter.ai/api/v1" # OpenRouter is OpenAI-compatible; change only if you proxy it
|
|
allowed_telegram_usernames: [] # if empty, the bot is available to anyone. pass a username string to allow it and/or user ids as positive integers and/or channel ids as negative integers
|
|
new_dialog_timeout: 600 # new dialog starts after timeout (in seconds)
|
|
return_n_generated_images: 1 # number of images per /imagine request (gpt-image-1 supports more than one)
|
|
n_chat_modes_per_page: 5
|
|
image_size: "1024x1024" # image size for gpt-image-1 generation: 1024x1024, 1536x1024, 1024x1536 or auto
|
|
enable_message_streaming: true # if set, messages will be shown to user word-by-word
|
|
|
|
# Note: model prices are configured per-model in config/models.yml
|