Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat: support midjourney-proxy API secret #29

Merged
merged 4 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "يرجى الرجوع إلى <1>midjourney-proxy</1> ونشر الخدمة الخادمية لاستخدامها",
"title": "عنوان وكيل Midjourney API"
"apiSecret": {
"title": "سر وكيل Midjourney API"
},
"baseUrl": {
"title": "عنوان وكيل Midjourney API"
},
"description": "يرجى الرجوع إلى <1>midjourney-proxy</1> ونشر الخدمة الخادمية لاستخدامها"
},
"modalTitle": "الإعدادات",
"save": "حفظ"
Expand Down
9 changes: 7 additions & 2 deletions locales/de-DE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Bitte installieren Sie den <1>midjourney-proxy</1>-Server und verwenden Sie ihn",
"title": "Midjourney API-Proxy-Adresse"
"apiSecret": {
"title": "Midjourney API Proxy Secret"
},
"baseUrl": {
"title": "Midjourney API Proxy-URL"
},
"description": "Bitte installieren Sie den <1>midjourney-proxy</1>-Server und verwenden Sie ihn"
},
"modalTitle": "Einstellungen",
"save": "Speichern"
Expand Down
19 changes: 10 additions & 9 deletions locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"deleteAll": "Delete All Images",
"deleteAllConfirm": "Are you sure you want to delete all images?",
"deleteConfirm": "Are you sure you want to delete this image?",
"deleteCurrent": "Delete Current Image",
"task": {
"actions": {
"download": "Download",
"info": "Image Details"
}
}
"deleteCurrent": "Delete Current Image"
},
"input": {
"placeholder": "Enter Midjourney prompt word...",
Expand All @@ -35,14 +29,21 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Please refer to <1>midjourney-proxy</1> for deploying the server and then use",
"title": "Midjourney API Proxy Address"
"apiSecret": {
"title": "Midjourney API Proxy Secret"
},
"baseUrl": {
"title": "Midjourney API Proxy Address"
},
"description": "Please refer to <1>midjourney-proxy</1> for deploying the server and then use"
},
"modalTitle": "Settings",
"save": "Save"
},
"task": {
"actions": {
"download": "Download",
"info": "Image Details",
"reroll": "Reroll",
"upscale": "Upscale",
"variant": "Diversify"
Expand Down
19 changes: 10 additions & 9 deletions locales/es-ES/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"deleteAll": "Eliminar todas las imágenes",
"deleteAllConfirm": "¿Estás seguro de que quieres eliminar todas las imágenes?",
"deleteConfirm": "¿Estás seguro de que quieres eliminar esta imagen?",
"deleteCurrent": "Eliminar imagen actual",
"task": {
"actions": {
"download": "Descargar",
"info": "Detalles de la imagen"
}
}
"deleteCurrent": "Eliminar imagen actual"
},
"input": {
"placeholder": "Ingrese las palabras clave de Midjourney...",
Expand All @@ -35,14 +29,21 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Por favor consulta <1>midjourney-proxy</1> para desplegar el servidor y luego utilizarlo",
"title": "Dirección del proxy de la API de Midjourney"
"apiSecret": {
"title": "Secreto de la API de Midjourney"
},
"baseUrl": {
"title": "Dirección de proxy de la API de Midjourney"
},
"description": "Por favor consulta <1>midjourney-proxy</1> para desplegar el servidor y luego utilizarlo"
},
"modalTitle": "Configuración",
"save": "Guardar"
},
"task": {
"actions": {
"download": "Descargar",
"info": "Detalles de la imagen",
"reroll": "Volver a generar",
"upscale": "Mejorar la calidad",
"variant": "Variar"
Expand Down
9 changes: 7 additions & 2 deletions locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Veuillez consulter <1>midjourney-proxy</1> pour déployer le service côté serveur avant utilisation",
"title": "Adresse du proxy Midjourney API"
"apiSecret": {
"title": "Secret du proxy API Midjourney"
},
"baseUrl": {
"title": "Adresse du proxy API Midjourney"
},
"description": "Veuillez consulter <1>midjourney-proxy</1> pour déployer le service côté serveur avant utilisation"
},
"modalTitle": "Paramètres",
"save": "Enregistrer"
Expand Down
9 changes: 7 additions & 2 deletions locales/it-IT/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Si prega di fare riferimento a <1>midjourney-proxy</1> per utilizzare il servizio lato server",
"title": "Indirizzo del proxy API di Midjourney"
"apiSecret": {
"title": "Segreto del proxy API di Midjourney"
},
"baseUrl": {
"title": "Indirizzo del proxy API di Midjourney"
},
"description": "Si prega di fare riferimento a <1>midjourney-proxy</1> per utilizzare il servizio lato server"
},
"modalTitle": "Impostazioni",
"save": "Salva"
Expand Down
9 changes: 7 additions & 2 deletions locales/ja-JP/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "サーバーをデプロイした後、<1>midjourney-proxy</1> を参照して使用してください",
"title": "Midjourney APIプロキシアドレス"
"apiSecret": {
"title": "Midjourney API プロキシシークレット"
},
"baseUrl": {
"title": "Midjourney API プロキシアドレス"
},
"description": "サーバーをデプロイした後、<1>midjourney-proxy</1> を参照して使用してください"
},
"modalTitle": "設定",
"save": "保存"
Expand Down
9 changes: 7 additions & 2 deletions locales/ko-KR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "<1>midjourney-proxy</1>를 참조하여 서버를 배포한 후 사용하세요",
"title": "Midjourney API 프록시 주소"
"apiSecret": {
"title": "Midjourney API 프록시 비밀번호"
},
"baseUrl": {
"title": "Midjourney API 프록시 주소"
},
"description": "<1>midjourney-proxy</1>를 참조하여 서버를 배포한 후 사용하세요"
},
"modalTitle": "설정",
"save": "저장"
Expand Down
19 changes: 10 additions & 9 deletions locales/nl-NL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"deleteAll": "Alle afbeeldingen verwijderen",
"deleteAllConfirm": "Weet je zeker dat je alle afbeeldingen wilt verwijderen?",
"deleteConfirm": "Weet je zeker dat je deze afbeelding wilt verwijderen?",
"deleteCurrent": "Huidige afbeelding verwijderen",
"task": {
"actions": {
"download": "Downloaden",
"info": "Afbeeldingsdetails"
}
}
"deleteCurrent": "Huidige afbeelding verwijderen"
},
"input": {
"placeholder": "Voer een suggestiewoord voor Midjourney in...",
Expand All @@ -35,14 +29,21 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Raadpleeg <1>midjourney-proxy</1> voor het implementeren van de serverzijde service",
"title": "Adres van de Midjourney API-proxy"
"apiSecret": {
"title": "Midjourney API Proxy-geheim"
},
"baseUrl": {
"title": "Midjourney API Proxy-adres"
},
"description": "Raadpleeg <1>midjourney-proxy</1> voor het implementeren van de serverzijde service"
},
"modalTitle": "Instellingen",
"save": "Opslaan"
},
"task": {
"actions": {
"download": "Downloaden",
"info": "Afbeeldingsdetails",
"reroll": "Opnieuw genereren",
"upscale": "Opschalen",
"variant": "Diversifiëren"
Expand Down
9 changes: 7 additions & 2 deletions locales/pl-PL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Proszę skonsultować się z <1>midjourney-proxy</1> w celu skonfigurowania serwera",
"title": "Adres proxy API Midjourney"
"apiSecret": {
"title": "Sekret proxy Midjourney API"
},
"baseUrl": {
"title": "Adres proxy Midjourney API"
},
"description": "Proszę skonsultować się z <1>midjourney-proxy</1> w celu skonfigurowania serwera"
},
"modalTitle": "Ustawienia",
"save": "Zapisz"
Expand Down
19 changes: 10 additions & 9 deletions locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"deleteAll": "Excluir todas as imagens",
"deleteAllConfirm": "Tem certeza de que deseja excluir todas as imagens?",
"deleteConfirm": "Tem certeza de que deseja excluir esta imagem?",
"deleteCurrent": "Excluir imagem atual",
"task": {
"actions": {
"download": "Baixar",
"info": "Detalhes da imagem"
}
}
"deleteCurrent": "Excluir imagem atual"
},
"input": {
"placeholder": "Digite as palavras-chave do Midjourney...",
Expand All @@ -35,14 +29,21 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Consulte <1>midjourney-proxy</1> para implantar o servidor e usá-lo",
"title": "Endereço do proxy da API Midjourney"
"apiSecret": {
"title": "Segredo do Proxy da API Midjourney"
},
"baseUrl": {
"title": "Endereço do Proxy da API Midjourney"
},
"description": "Consulte <1>midjourney-proxy</1> para implantar o servidor e usá-lo"
},
"modalTitle": "Configurações",
"save": "Salvar"
},
"task": {
"actions": {
"download": "Baixar",
"info": "Detalhes da Imagem",
"reroll": "Rolar novamente",
"upscale": "Aprimorar",
"variant": "Variar"
Expand Down
9 changes: 7 additions & 2 deletions locales/ru-RU/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Пожалуйста, укажите адрес сервера для использования <1>midjourney-proxy</1>",
"title": "Адрес прокси Midjourney API"
"apiSecret": {
"title": "Секрет прокси Midjourney API"
},
"baseUrl": {
"title": "Адрес прокси Midjourney API"
},
"description": "Пожалуйста, укажите адрес сервера для использования <1>midjourney-proxy</1>"
},
"modalTitle": "Настройки",
"save": "Сохранить"
Expand Down
9 changes: 7 additions & 2 deletions locales/tr-TR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Lütfen <1>midjourney-proxy</1> bağlantısına giderek sunucu tarafını kurduktan sonra kullanın",
"title": "Midjourney API Vekil Adresi"
"apiSecret": {
"title": "Midjourney API Proxy Gizlisi"
},
"baseUrl": {
"title": "Midjourney API Proxy Adresi"
},
"description": "Lütfen <1>midjourney-proxy</1> bağlantısına giderek sunucu tarafını kurduktan sonra kullanın"
},
"modalTitle": "Ayarlar",
"save": "Kaydet"
Expand Down
9 changes: 7 additions & 2 deletions locales/vi-VN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "Vui lòng tham khảo <1>midjourney-proxy</1> để triển khai dịch vụ máy chủ trước khi sử dụng",
"title": "Địa chỉ proxy API Midjourney"
"apiSecret": {
"title": "Bí mật proxy API Midjourney"
},
"baseUrl": {
"title": "Địa chỉ proxy API Midjourney"
},
"description": "Vui lòng tham khảo <1>midjourney-proxy</1> để triển khai dịch vụ máy chủ trước khi sử dụng"
},
"modalTitle": "Cài đặt",
"save": "Lưu"
Expand Down
7 changes: 6 additions & 1 deletion locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
},
"settings": {
"MidjourneyAPIProxy": {
"title": "Midjourney API 代理地址",
"baseUrl": {
"title": "Midjourney API 代理地址"
},
"apiSecret": {
"title": "Midjourney API 代理 Secret"
},
"description": "请参考 <1>midjourney-proxy</1> 部署好服务端后使用"
},
"modalTitle": "设置",
Expand Down
9 changes: 7 additions & 2 deletions locales/zh-TW/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
},
"settings": {
"MidjourneyAPIProxy": {
"description": "請參考 <1>midjourney-proxy</1> 部署好服務端後使用",
"title": "Midjourney API 代理地址"
"apiSecret": {
"title": "Midjourney API 代理密鑰"
},
"baseUrl": {
"title": "Midjourney API 代理位址"
},
"description": "請參考 <1>midjourney-proxy</1> 部署好服務端後使用"
},
"modalTitle": "設定",
"save": "保存"
Expand Down
9 changes: 8 additions & 1 deletion public/manifest-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@
"type": "object",
"properties": {
"MIDJOURNEY_PROXY_URL": {
"title": "Midjourney Proxy URL",
"type": "string",
"description": "please add url of deployment of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)"
"description": "Please add URL of deployment of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)"
},
"MIDJOURNEY_PROXY_API_SECRET": {
"title": "Midjourney Proxy API Secret",
"type": "string",
"description": "Please add API secret of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)",
"format": "password"
}
},
"required": ["MIDJOURNEY_PROXY_URL"]
Expand Down
9 changes: 8 additions & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@
"type": "object",
"properties": {
"MIDJOURNEY_PROXY_URL": {
"title": "Midjourney Proxy URL",
"type": "string",
"description": "please add url of deployment of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)"
"description": "Please add URL of deployment of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)"
},
"MIDJOURNEY_PROXY_API_SECRET": {
"title": "Midjourney Proxy API Secret",
"type": "string",
"description": "Please add API secret of [midjourney-proxy](https://github.com/novicezk/midjourney-proxy)",
"format": "password"
}
},
"required": ["MIDJOURNEY_PROXY_URL"]
Expand Down
Loading
Loading