feat: ip access control

This commit is contained in:
jialin
2026-04-29 18:09:55 +08:00
committed by jialin
parent c68f546be9
commit ac99156c90
6 changed files with 85 additions and 32 deletions
-1
View File
@@ -22,7 +22,6 @@ ${formatCurlArgs(parameters, isFormdata)}`.trim();
if (edit) {
curlCode = `
curl ${host}${api} \\
-H "Content-Type: multipart/form-data" \\
-H "Authorization: Bearer $\{YOUR_GPUSTACK_API_KEY}" \\${modelProxy ? `\n-H "X-GPUStack-Model: ${parameters.model}" \\` : ''}
-F image="@image.png" \\
-F mask="@mask.png" \\