Skip to content

Unrestricted Open-source alternative to AI video platforms — Free AI image & video generation studio with 600+ models (Flux, Midjourney, Kling, Sora, Veo). No content filters. Self-hosted, MIT licensed.

remove hardcoded credit-cost badges from LayersStudio

Anil-matchace624ff90056
diff --git a/packages/studio/src/components/LayersStudio.jsx b/packages/studio/src/components/LayersStudio.jsx
index 79d7f6bd..b4bbf8dc 100644
--- a/packages/studio/src/components/LayersStudio.jsx
+++ b/packages/studio/src/components/LayersStudio.jsx
@@ -21,19 +21,16 @@ const UPSCALE_MODELS = [
id: "topaz-image-upscale",
name: "Topaz",
subtitle: "The default model for general-purpose...",
- cost: "1.0",
},
{
id: "seedvr2-image-upscale",
name: "SeedVR2",
subtitle: "Diffusion-transformer super-resolution (up to 8K)",
- cost: "0.02",
},
{
id: "ai-image-upscaler",
name: "AI Upscaler",
subtitle: "Fast 1-click automatic super-resolution",
- cost: "1.0",
},
];
@@ -2569,9 +2566,6 @@ export default function LayersStudio({
<span className="text-xs font-bold text-white">
{opt.name}
</span>
- <span className="text-[10px] font-bold text-[#a3e635]">
- {opt.cost} credits
- </span>
</div>
<span className="text-[10px] text-white/40">
{opt.subtitle}
@@ -3705,9 +3699,6 @@ export default function LayersStudio({
<span className="text-[11px] font-extrabold uppercase tracking-wider text-white/40">
{copy.common.model}
</span>
- <span className="text-[10px] font-bold text-[#a3e635] bg-[#84cc16]/15 px-2 py-0.5 rounded-md">
- {copy.removeBg.credit}
- </span>
</div>
<div className="bg-[#2d313d] p-3.5 rounded-2xl border border-white/5 flex items-center gap-3 shadow-sm">
@@ -3785,9 +3776,6 @@ export default function LayersStudio({
<span className="text-[11px] font-extrabold uppercase tracking-wider text-white/40">
{copy.common.model}
</span>
- <span className="text-[10px] font-bold text-[#a3e635] bg-[#84cc16]/15 px-2 py-0.5 rounded-md">
- {copy.expandCrop.credit}
- </span>
</div>
<div className="bg-[#2d313d] p-3.5 rounded-2xl border border-white/5 flex items-center gap-3 shadow-sm">
diff --git a/packages/studio/src/messages/en/layersStudio.json b/packages/studio/src/messages/en/layersStudio.json
index e4056726..da5f097e 100644
--- a/packages/studio/src/messages/en/layersStudio.json
+++ b/packages/studio/src/messages/en/layersStudio.json
@@ -88,7 +88,6 @@
"download": "Download"
},
"removeBg": {
- "credit": "1.0 credit",
"modelName": "AI Background Remover",
"targetPreview": "Target Preview",
"alphaMatte": "Alpha Matte Cutout",
@@ -96,7 +95,6 @@
"feature2": "High-resolution transparent PNG output"
},
"expandCrop": {
- "credit": "0.03 credits",
"modelName": "AI Image Extension",
"canvasPreview": "Canvas Preview",
"boundaryOutpainting": "Boundary Outpainting",
diff --git a/packages/studio/src/messages/zh/layersStudio.json b/packages/studio/src/messages/zh/layersStudio.json
index 83d11d76..3ea95588 100644
--- a/packages/studio/src/messages/zh/layersStudio.json
+++ b/packages/studio/src/messages/zh/layersStudio.json
@@ -88,7 +88,6 @@
"download": "下载"
},
"removeBg": {
- "credit": "1.0 积分",
"modelName": "AI 背景移除",
"targetPreview": "目标预览",
"alphaMatte": "透明通道抠图",
@@ -96,7 +95,6 @@
"feature2": "高分辨率透明 PNG 输出"
},
"expandCrop": {
- "credit": "0.03 积分",
"modelName": "AI 图像扩展",
"canvasPreview": "画布预览",
"boundaryOutpainting": "边界外扩绘制",