diff --git a/nuxt.config.ts b/nuxt.config.ts
index 6ca3f88..2bf1582 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -65,7 +65,7 @@ export default defineNuxtConfig({
// NUXT_PUBLIC_STUDIO=xaigen on the xAIGen Coolify app (LTX Pink Cherry + xAIGen-prefixed LoRAs)
studio: process.env.NUXT_PUBLIC_STUDIO || '',
kreaConceptLora: process.env.NUXT_PUBLIC_KREA_CONCEPT_LORA || process.env.NUXT_KREA_CONCEPT_LORA || '',
- backupStudioEnabled: Boolean(String(process.env.BACKUP_STUDIO_URL || '').trim()) && !xaigenStudio
+ backupStudioEnabled: !xaigenStudio
}
},
nitro: {
diff --git a/pages/index.vue b/pages/index.vue
index 51371d4..2dc9aa2 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1382,6 +1382,15 @@
>
{{ keepingInputBusy ? 'Saving…' : 'Save as input' }}
+
@@ -1547,6 +1556,15 @@
>
Send to Refine
+
@@ -1918,7 +1936,7 @@
class="text-xs text-amber-300"
:disabled="backupBusyId === entry.stillGroup.head.id"
@click="sendStillToBackup(entry.stillGroup.head)"
- >{{ backupBusyId === entry.stillGroup.head.id ? 'Sending…' : 'Send to Backup on AIGen only' }}
+ >{{ backupBusyId === entry.stillGroup.head.id ? 'Sending…' : 'Send to Backup' }}
@@ -2001,7 +2019,7 @@
class="text-xs text-amber-300"
:disabled="backupBusyId === item.id"
@click="sendStillToBackup(item)"
- >{{ backupBusyId === item.id ? 'Sending…' : 'Send to Backup on AIGen only' }}
+ >{{ backupBusyId === item.id ? 'Sending…' : 'Send to Backup' }}
@@ -5907,6 +5925,15 @@ function stillUseAsInputMessage(still: LibraryStill) {
return 'Loaded as input. It stays in Output, not the upload library.'
}
+async function sendOutputStillToBackup() {
+ const stillId = lastV2StillId.value || stillIdFromLibraryUrl(editResultUrl.value)
+ if (!stillId) {
+ toast('Save this still first, then send it to Backup.')
+ return
+ }
+ await sendStillToBackup({ id: stillId })
+}
+
async function sendStillToBackup(still: Pick) {
if (!backupStudioEnabled.value || backupBusyId.value) return
backupBusyId.value = still.id
diff --git a/pages/library.vue b/pages/library.vue
index 69f2783..c239ad0 100644
--- a/pages/library.vue
+++ b/pages/library.vue
@@ -277,7 +277,7 @@
class="rounded-full border border-white/10 px-3 py-1.5 text-xs text-zinc-300 hover:text-white"
:disabled="backupBusy"
@click="sendFocusedToBackup"
- >{{ backupBusy ? 'Sending…' : 'Send to Backup on AIGen only' }}
+ >{{ backupBusy ? 'Sending…' : 'Send to Backup' }}