# Copyright (c) 2025, JINGROW and contributors
# For license information, please see license.txt

# import jingrow
from jingrow.model.page import Page


class AiSettings(Page):
	# begin: auto-generated types
	# This code is auto-generated. Do not modify anything in this block.

	from typing import TYPE_CHECKING

	if TYPE_CHECKING:
		from jingrow.types import DF

		add_title_to_image_name: DF.Check
		chatgpt_api_key: DF.Password | None
		chatgpt_api_model: DF.Literal["gpt-4o", "gpt-4o-mini"]
		chatgpt_api_url: DF.Data | None
		chatgpt_image_to_text_model: DF.Literal["gpt-4o", "gpt-4o-mini"]
		clip_g_name: DF.Data | None
		clip_l_name: DF.Data | None
		comfyui_server_address: DF.Data | None
		deepseek_api_key: DF.Password | None
		deepseek_api_max_token: DF.Data | None
		deepseek_api_model: DF.Literal["deepseek-chat", "deepseek-reasoner"]
		deepseek_api_url: DF.Data | None
		deepseek_image_to_text_model: DF.Literal["deepseek-chat", "deepseek-reasoner"]
		discord_channel_id: DF.Data | None
		discord_user_token: DF.Password | None
		doubao_api_key: DF.Password | None
		doubao_api_model: DF.Literal["doubao-1-5-lite-32k-250115", "doubao-1-5-pro-32k-250115", "doubao-1-5-thinking-pro-250415", "doubao-pro-32k-241215"]
		doubao_api_url: DF.Data | None
		doubao_image_to_text_model: DF.Literal["doubao-1.5-vision-pro-250328", "doubao-1.5-vision-lite-250315"]
		flux_cfg: DF.Data | None
		flux_ckpt_name: DF.Data | None
		flux_custom_suffix: DF.Data | None
		flux_denoise: DF.Data | None
		flux_sampler_name: DF.Data | None
		flux_scheduler: DF.Data | None
		flux_steps: DF.Int
		http_proxy: DF.Data | None
		https_proxy: DF.Data | None
		image_height: DF.Int
		image_to_text_model: DF.Literal["Jingrow", "DeepSeek", "Doubao", "ChatGPT"]
		image_width: DF.Int
		images_per_prompt: DF.Int
		imgtxt_system_message: DF.LongText | None
		imgtxt_user_content: DF.SmallText | None
		jingrow_api_key: DF.Data | None
		jingrow_api_model: DF.Literal["jingrow-chat", "jingrow-chat-lite", "jingrow-chat-think"]
		jingrow_api_secret: DF.Password | None
		jingrow_api_url: DF.Data | None
		jingrow_image_to_text_model: DF.Literal["jingrow-chat-vision"]
		jingrow_midjourney: DF.Check
		midjourney_api_url: DF.Data | None
		midjourney_application_id: DF.Data | None
		midjourney_data_id: DF.Data | None
		midjourney_data_version: DF.Data | None
		midjourney_options: DF.JSON | None
		midjourney_session_id: DF.Data | None
		midjourney_suffix: DF.Data | None
		negative_prompt: DF.SmallText | None
		sd_cfg: DF.Data | None
		sd_ckpt_name: DF.Data | None
		sd_custom_suffix: DF.Data | None
		sd_denoise: DF.Data | None
		sd_sampler_name: DF.Data | None
		sd_scheduler: DF.Data | None
		sd_steps: DF.Int
		t5_name: DF.Data | None
		temperature: DF.Float
		top_p: DF.Float
		translate_system_message: DF.LongText | None
		translate_user_content: DF.SmallText | None
		translation_model: DF.Literal["Jingrow", "DeepSeek", "Doubao", "ChatGPT"]
		upload_url: DF.Data | None
	# end: auto-generated types
	pass
