z-image
This commit is contained in:
@@ -20,9 +20,45 @@ config TQ_API_KEY
|
||||
string "REST API Key (optional, empty means disabled)"
|
||||
default ""
|
||||
|
||||
config TQ_Z_IMAGE_API_KEY
|
||||
string "Z-Image API Key for DashScope HTTP (optional, fallback to Voice API key)"
|
||||
default "sk-7a50eca6856d4afb968ac3bf512f6d1b"
|
||||
|
||||
config TQ_Z_IMAGE_API_ENDPOINT
|
||||
string "Z-Image HTTP endpoint"
|
||||
default "https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation"
|
||||
|
||||
config TQ_Z_IMAGE_MODEL
|
||||
string "Z-Image model"
|
||||
default "z-image-turbo"
|
||||
|
||||
config TQ_Z_IMAGE_DEFAULT_SIZE
|
||||
string "Z-Image default output size"
|
||||
default "1024*1536"
|
||||
|
||||
config TQ_Z_IMAGE_TIMEOUT_MS
|
||||
int "Z-Image generation timeout (ms)"
|
||||
range 5000 180000
|
||||
default 45000
|
||||
|
||||
config TQ_Z_IMAGE_DOWNLOAD_TIMEOUT_MS
|
||||
int "Z-Image image download timeout (ms)"
|
||||
range 2000 120000
|
||||
default 15000
|
||||
|
||||
config TQ_Z_IMAGE_MAX_RESPONSE_BYTES
|
||||
int "Z-Image max response body bytes"
|
||||
range 1024 262144
|
||||
default 65536
|
||||
|
||||
config TQ_Z_IMAGE_MAX_PNG_BYTES
|
||||
int "Z-Image max downloaded PNG bytes"
|
||||
range 65536 8388608
|
||||
default 4194304
|
||||
|
||||
config TQ_VOICE_API_KEY
|
||||
string "Voice API Key for DashScope WebSocket (optional)"
|
||||
default ""
|
||||
default "sk-7a50eca6856d4afb968ac3bf512f6d1b"
|
||||
|
||||
config TQ_VOICE_WS_URI
|
||||
string "Voice WebSocket URI"
|
||||
@@ -30,11 +66,11 @@ config TQ_VOICE_WS_URI
|
||||
|
||||
config TQ_VOICE_WORKSPACE_ID
|
||||
string "Voice workspace_id"
|
||||
default ""
|
||||
default "llm-igyrxzdvbwja5gyt"
|
||||
|
||||
config TQ_VOICE_APP_ID
|
||||
string "Voice app_id"
|
||||
default ""
|
||||
default "fe83b756f6634dcc842c6e7f356c0cf8"
|
||||
|
||||
config TQ_VOICE_USER_ID
|
||||
string "Voice client user_id"
|
||||
@@ -46,7 +82,7 @@ config TQ_VOICE_DEVICE_UUID
|
||||
|
||||
config TQ_VOICE_TTS_VOICE
|
||||
string "Voice TTS voice (optional)"
|
||||
default ""
|
||||
default "longling_v3"
|
||||
|
||||
config TQ_VOICE_SAMPLE_RATE
|
||||
int "Voice sample rate"
|
||||
|
||||
Reference in New Issue
Block a user