MCPcopy Create free account
hub / github.com/HisMax/RedInk / createEmptyImageForm

Function createEmptyImageForm

frontend/src/composables/useProviderForm.ts:127–140  ·  view source on GitHub ↗

* 创建空的图片服务商表单

()

Source from the content-addressed store, hash-verified

125 * 创建空的图片服务商表单
126 */
127 function createEmptyImageForm(): ImageProviderForm {
128 return {
129 name: '',
130 type: 'image_api',
131 api_key: '',
132 api_key_masked: '',
133 base_url: '',
134 model: '',
135 high_concurrency: false,
136 short_prompt: false,
137 endpoint_type: '/v1/images/generations',
138 _has_api_key: false
139 }
140 }
141
142 /**
143 * 加载配置

Callers 2

useProviderFormFunction · 0.85
openAddImageModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected