PageSourceSearch

https://seedance25.kr/assets/ai-CRQIrBlB.js

js seedance25.kr collected 2026-10-04 11:47:34 UTC 38,053 bytes, 1 lines download raw bytes

1import{a as s,c as R,ab as I,ad as A,r,j as e,D as M,E as P,K as E,M as F,J as T,bX as h,B as y,k as z,n as ne,dI as D,dJ as O,dK as $,dL as B,dM as G,e as J,b$ as Pe,an as Ee,dN as Fe,dO as Te}from"./main-BmIQ3Ne6.js";import{C as Le}from"./container-B_TDmTjr.js";import{D as Ue}from"./dashboard-header-BdQNUYgK.js";import{T as L}from"./textarea-BLN1TyYE.js";import{I as Y,d as Z}from"./download-D-vXNc7I.js";import{a as re}from"./ai_page_common_prompt-D5Asxnmj.js";import{a as Q}from"./ai_page_common_download-ol28LQ8V.js";import"./IconArrowLeft-DSoudaeK.js";const De=()=>"이미지 캡션 생성",Oe=((t={},a={})=>(a.locale??s(),De())),$e=()=>"Cloudflare Workers AI로 이미지를 설명하거나 이미지에 대한 질문에 답합니다.",Be=((t={},a={})=>(a.locale??s(),$e())),Ge=()=>"캡션이 여기에 표시됩니다.",Re=((t={},a={})=>(a.locale??s(),Ge())),We=()=>"캡션을 생성할 이미지를 업로드하세요.",Ke=((t={},a={})=>(a.locale??s(),We())),qe=()=>"이미지 캡션 생성에 실패했습니다.",Ve=((t={},a={})=>(a.locale??s(),qe())),He=()=>"이미지 (최대 1 MB)",Xe=((t={},a={})=>(a.locale??s(),He())),Je=()=>"결과",Ye=((t={},a={})=>(a.locale??s(),Je())),Ze=()=>"캡션 생성 중...",Qe=((t={},a={})=>(a.locale??s(),Ze())),ea=()=>"이 이미지의 캡션을 생성해 주세요.",aa=((t={},a={})=>(a.locale??s(),ea())),ta=()=>"이 이미지에서 보이는 내용을 자세히 설명해 주세요.",sa=((t={},a={})=>(a.locale??s(),ta())),na=()=>"이 이미지를 설명하는 키워드 5개를 쉼표로 구분하여 나열해 주세요.",ra=((t={},a={})=>(a.locale??s(),na())),ia=()=>"이 이미지에는 어떤 사물이 있나요?",la=((t={},a={})=>(a.locale??s(),ia())),oa=()=>"미리보기",ca=((t={},a={})=>(a.locale??s(),oa())),_a=()=>"프롬프트",pa=((t={},a={})=>(a.locale??s(),_a())),da=()=>"이미지를 읽는 중...",ua=((t={},a={})=>(a.locale??s(),da())),ma=()=>"이미지 캡션 생성",ga=((t={},a={})=>(a.locale??s(),ma())),xa=()=>"이미지 변경",ie=((t={},a={})=>(a.locale??s(),xa())),ha=()=>"자",W=((t={},a={})=>
1(a.locale??s(),ha())),fa=()=>"사용자 지정 프롬프트",le=((t={},a={})=>(a.locale??s(),fa())),ja=()=>"AI 생성 이미지",oe=((t={},a={})=>(a.locale??s(),ja())),ba=()=>"1 MB 미만의 이미지를 사용해 주세요.",ce=((t={},a={})=>(a.locale??s(),ba())),va=()=>"모델",_e=((t={},a={})=>(a.locale??s(),va())),ka=()=>"선택한 파일을 읽을 수 없습니다.",pe=((t={},a={})=>(a.locale??s(),ka())),Na=()=>"ê²°ê³¼",ee=((t={},a={})=>(a.locale??s(),Na())),ya=()=>"이미지 업로드",de=((t={},a={})=>(a.locale??s(),ya())),Sa=()=>"이미지 파일을 업로드해 주세요.",ue=((t={},a={})=>(a.locale??s(),Sa())),za=()=>"TanStack AI, Cloudflare Workers AI, fal.ai로 제작되었습니다.",Ca=((t={},a={})=>(a.locale??s(),za())),wa=()=>"이미지 생성",me=((t={},a={})=>(a.locale??s(),wa())),Ia=()=>"Cloudflare Workers AI로 텍스트 프롬프트에서 바로 이미지를 생성합니다.",Aa=((t={},a={})=>(a.locale??s(),Ia())),Ma=()=>"fal.ai와 전환 가능한 모델로 텍스트 프롬프트에서 생생한 이미지를 생성합니다.",Pa=((t={},a={})=>(a.locale??s(),Ma())),Ea=()=>"스타일 적용",Fa=((t={},a={})=>(a.locale??s(),Ea())),Ta=()=>"fal.ai로 업로드한 인물 사진을 스타일화된 만화, 캐리커처 또는 애니메이션 버전으로 변환합니다.",La=((t={},a={})=>(a.locale??s(),Ta())),Ua=()=>"스타일화된 인물 사진이 여기에 표시됩니다.",Da=((t={},a={})=>(a.locale??s(),Ua())),Oa=()=>"스타일을 적용할 인물 사진을 업로드하세요.",$a=((t={},a={})=>(a.locale??s(),Oa())),Ba=()=>"이미지 편집에 실패했습니다.",Ga=((t={},a={})=>(a.locale??s(),Ba())),Ra=()=>"원본 인물 사진 (최대 1 MB)",Wa=((t={},a={})=>(a.locale??s(),Ra())),Ka=()=>"스타일 적용 중...",qa=((t={},a={})=>(a.locale??s(),Ka())),Va=()=>"원하는 스타일을 설명하세요...",Ha=((t={},a={})=>(a.locale??s(),Va())),Xa=()=>"머리 흔들이 캐리커처",Ja=((t={},a={})=>(a.locale??s(),Xa())),Ya=()=>"이 사람을 귀여운 머리 흔들이 스타일의 만화 캐리커처로 변환하세요: 과장되게 큰 둥근 머리, 작은 어깨, 매끄럽고 깔끔한 라인 아트, 선명한 단색, 발그레한 ë³¼, 친근한 미소, 단색 파스텔 ë°°ê²½, 스티커 스타일, 원본 얼굴 특징을 알아볼 수 있게 유지.",Za=((t={},a={})=>(a.locale??s(),Ya())),Qa=()=>"픽사 3D",et=((t={},a={})=>(a.locale??s(),Qa())),at=()=>"이 사람을 크고 표현력 있는 눈, 부드럽게 음영 처리된 피부, 부드러운 영화적 조명, 친근한 미소, 깔끔한 스튜디오 배경을 가진 픽사 스타일의 3D 애니메이션 캐릭터로 변환하고, 원본 정체성을 알아볼 수 있게 유지하세요.",tt=((t={},a={})=>(a.locale??s(),at())),st=()=>"애니메이션 인물화",nt=((t={},a={})=>(a.locale??s(),st())),rt=()=>"이 사람을 고품질 애니메이션 캐릭터 인물화로 변환하세요: 또렷한 선과 함께 셀 셰이딩 처리, 표현력 있고 반짝이는 눈, 부드러운 파스텔 ë°°ê²½, 일본 애니메이션 스타일, 원본 얼굴 특징을 알아볼 수 있게 유지.",it=((t={},a={})=>(a.locale??s(),rt())),lt=()=>"원본 미리보기",ot=((t={},a={})=>(a.locale??s(),lt())),ct=()=>"스타일 프롬프트",_t=((t={},a={})=>(a.locale??s(),ct())),pt=()=>"스타일 적용 ê²°ê³¼",dt=((t={},a={})=>(a.locale??s(),pt())),ut=()=>"이미지 편집 · 아바타 스타일러",mt=((t={},a={})=>(a.locale??s(),ut())),gt=()=>"생성된 이미지가 여기에 표시됩니다.",ge=((t={},a={})=>(a.locale??s(),gt())),xt=()=>"이미지 생성에 실패했습니다.",xe=((t={},a={})=>(a.locale??s(),xt())),ht=()=>"생성 중...",he=((t={},a={})=>(a.locale??s(),ht())),ft=()=>"생성하려는 이미지를 설명하세요...",fe=((t={},a={})=>(a.locale??s(),ft())),jt=()=>"우주비행사 판다",je=((t={},a={})=>(a.locale??s(),jt())),bt=()=>"성운 사이를 떠다니는 작은 우주비행사 헬멧을 쓴 귀여운 레서판다, 영화 같은 조명, 초정밀 디테일",be=((t={},a={})=>(a.locale??s(),bt())),vt=()=>"사이버펑크 도쿄",ve=((t={},a={})=>(a.locale??s(),vt())),kt=()=>"밤의 사이버펑크 도쿄 거리, 빗물에 젖어 반사되는 네온, 홀로그램 광고판, 영화적 분위기, 초정밀 디테일",ke=((t={},a={})=>(a.locale??s(),kt())),Nt=()=>"수채화 마을",Ne=((t={},a={})=>(a.locale??s(),Nt())),yt=()=>"해 뜰 무렵의 평화로운 일본 산골 마을, 수채화 스타일, 부드러운 빛, 섬세한 붓 터치",ye=((t={},a={})=>(a.locale??s(),yt())),St=()=>"제품 촬영",Se=((t={},a={})=>(a.locale??s(),St())),zt=()=>"흰색 대리석 위에 놓인 매끄러운 무광 블랙 무선 이어버드의 미니멀한 제품 사진, 부드러운 스튜디오 조명, 얕은 피사계 심도",ze=((t={},a={})=>(a.locale??s(),zt())),Ct=()=>"픽셀 드래곤",Ce=((t={},a={})=>(a.locale??s(),Ct())),wt=()=>"빛나는 크리스탈 동굴을 지키는 작은 드래곤의 16비트 픽셀 아트, 레트로 게임 감성, 선명한 색감",we=((t={},a={})=>(a.locale??s(),wt())),It=()=>"이미지 생성 · Workers AI",At=((t={},a={})=>(a.locale??s(),It())),Mt=()=>"이미지 생성 · fal.ai",Pt=((t={},a={})=>(a.locale??s(),Mt())),Et=()=>"요약하기",Ft=((t={},a={})=>(a.locale??s(),Et())),Tt=()=>"Cloudflare Workers AI 기반으로 긴 텍스트를 간결한 요약으로 압축합니다.",Lt=((t={},a={})=>(a.locale??s(),Tt())),Ut=()=>"요약이 여기에 표시됩니다.",Dt=((t={},a={})=>(a.locale??s(),Ut())),Ot=()=>"텍스트 요약에 실패했습니다.",$t=((t={},a={})=>(a.locale??s(),Ot())),Bt=()=>"요약",Gt=((t={},a={})=>(a.locale??s(),Bt())),Rt=()=>"요약 중...",Wt=((t={},a={})=>(a.locale??s(),Rt())),Kt=()=>"긴 기사나 문단을 여기에 붙여넣으세요...",qt=((t={},a={})=>(a.locale??s(),Kt())),Vt=()=>"Cloudflare Workers AI를 사용하면 개발자가 Cloudflare 글로벌 네트워크에서 머신러닝 모델을 실행할 수 있습니다. 인프라를 관리하지 않고도 인기 있는 오픈소스 모델을 최종 사용자 가까이에서 제공하는 서버리스 GPU 기반 추론 플랫폼을 제공합니다. Cloudflare AI Gateway와 결합하면 여러 AI 공급업체 전ë°
1˜ì—ì„œ 캐싱, 분석, 속도 제한, 통합 청구를 활용할 수 있어 프로덕션 환경에서 안정적인 AI 기능을 손쉽게 출시할 수 있습니다.",Ht=((t={},a={})=>(a.locale??s(),Vt())),Xt=()=>"원본 콘텐츠",Jt=((t={},a={})=>(a.locale??s(),Xt())),Yt=()=>"요약",Zt=((t={},a={})=>(a.locale??s(),Yt())),Qt=()=>"태그라인 생성",es=((t={},a={})=>(a.locale??s(),Qt())),as=()=>"Cloudflare Workers AI 기반으로 설명으로부터 임팩트 있는 SaaS 태그라인을 생성합니다.",ts=((t={},a={})=>(a.locale??s(),as())),ss=()=>"생성된 태그라인 5개가 여기에 표시됩니다.",ns=((t={},a={})=>(a.locale??s(),ss())),rs=()=>"태그라인 생성에 실패했습니다.",is=((t={},a={})=>(a.locale??s(),rs())),ls=()=>"제품 설명",os=((t={},a={})=>(a.locale??s(),ls())),cs=()=>"추천 태그라인",_s=((t={},a={})=>(a.locale??s(),cs())),ps=()=>"생성 중...",ds=((t={},a={})=>(a.locale??s(),ps())),us=()=>"SaaS가 하는 일을 한두 문장으로 설명하세요...",ms=((t={},a={})=>(a.locale??s(),us())),gs=()=>"TanStack Start, Cloudflare Workers, Better Auth, Drizzle ORM으로 구축된 SaaS 보일러플레이트입니다. 인디 개발자가 주말 동안 프로덕션 준비가 완료된 앱을 출시할 수 있도록 돕습니다.",xs=((t={},a={})=>(a.locale??s(),gs())),hs=()=>"SaaS 태그라인 생성기",fs=((t={},a={})=>(a.locale??s(),hs())),js=()=>"번역하기",bs=((t={},a={})=>(a.locale??s(),js())),vs=()=>"Cloudflare Workers AI 기반으로 여러 언어 간에 텍스트를 번역합니다.",ks=((t={},a={})=>(a.locale??s(),vs())),Ns=()=>"번역 결과가 여기에 표시됩니다.",ys=((t={},a={})=>(a.locale??s(),Ns())),Ss=()=>"텍스트 번역에 실패했습니다.",zs=((t={},a={})=>(a.locale??s(),Ss())),Cs=()=>"원본 언어",ws=((t={},a={})=>(a.locale??s(),Cs())),Is=()=>"번역",As=((t={},a={})=>(a.locale??s(),Is())),Ms=()=>"번역 중...",Ps=((t={},a={})=>(a.locale??s(),Ms())),Es=()=>"번역할 텍스트를 입력하거나 붙여넣으세요...",Fs=((t={},a={})=>(a.locale??s(),Es())),Ts=()=>"원본 언어와 대상 언어는 서로 달라야 합니다.",Ls=((t={},a={})=>(a.locale??s(),Ts())),Us=()=>"Cloudflare Workers AI를 사용하면 개발자가 엣지에서 머신러닝 모델을 실행할 수 있습니다.",Ds=((t={},a={})=>(a.locale??s(),Us())),Os=()=>"원본 텍스트",$s=((t={},a={})=>(a.locale??s(),Os())),Bs=()=>"언어 바꾸기",Gs=((t={},a={})=>(a.locale??s(),Bs())),Rs=()=>"번역",Ws=((t={},a={})=>(a.locale??s(),Rs())),Ks=()=>"대상 언어",qs=((t={},a={})=>(a.locale??s(),Ks())),Vs=()=>"음성 합성",Hs=((t={},a={})=>(a.locale??s(),Vs())),Xs=()=>"요청당",Js=((t={},a={})=>(a.locale??s(),Xs())),Ys=()=>"Cloudflare Workers AI 기반으로 텍스트 입력에서 자연스러운 음성을 합성합니다.",Zs=((t={},a={})=>(a.locale??s(),Ys())),Qs=()=>"생성된 오디오가 여기에 표시됩니다.",en=((t={},a={})=>(a.locale??s(),Qs())),an=()=>"음성 합성에 실패했습니다.",tn=((t={},a={})=>(a.locale??s(),an())),sn=()=>"텍스트",nn=((t={},a={})=>(a.locale??s(),sn())),rn=()=>"오디오",ln=((t={},a={})=>(a.locale??s(),rn())),on=()=>"합성 중...",cn=((t={},a={})=>(a.locale??s(),on())),_n=()=>"소리 내어 읽을 텍스트를 입력하거나 붙여넣으세요...",pn=((t={},a={})=>(a.locale??s(),_n())),dn=()=>"Cloudflare Workers AI에서 인사드립니다. 이 데모는 단 한 번의 API 호출로 텍스트를 자연스러운 음성으로 변환합니다.",un=((t={},a={})=>(a.locale??s(),dn())),mn=()=>"텍스트 음성 변환",gn=((t={},a={})=>(a.locale??s(),mn())),xn=()=>"음성",hn=((t={},a={})=>(a.locale??s(),xn()));const fn=[["path",{d:"M7 10h14l-4 -4",key:"svg-0"}],["path",{d:"M17 14h-14l4 4",key:"svg-1"}]],jn=R("outline","arrows-exchange","ArrowsExchange",fn);const bn=[["path",{d:"M9 5a3 3 0 0 1 3 -3a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3a3 3 0 0 1 -3 -3l0 -5",key:"svg-0"}],["path",{d:"M5 10a7 7 0 0 0 14 0",key:"svg-1"}],["path",{d:"M8 21l8 0",key:"svg-2"}],["path",{d:"M12 17l0 4",key:"svg-3"}]],vn=R("outline","microphone","Microphone",bn);const kn=[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M11 20h-4a3 3 0 0 1 -3 -3v-10a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v4",key:"svg-1"}],["path",{d:"M4 15l4 -4c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-2"}
1],["path",{d:"M14 14l1 -1c.31 -.298 .644 -.497 .987 -.596",key:"svg-3"}],["path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39",key:"svg-4"}]],Nn=R("outline","photo-edit","PhotoEdit",kn);const yn=[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M6 13l2.644 -2.644a1.21 1.21 0 0 1 1.712 0l3.644 3.644",key:"svg-1"}],["path",{d:"M13 13l1.644 -1.644a1.21 1.21 0 0 1 1.712 0l1.644 1.644",key:"svg-2"}],["path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2",key:"svg-3"}],["path",{d:"M4 16v2a2 2 0 0 0 2 2h2",key:"svg-4"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"svg-5"}],["path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2",key:"svg-6"}]],Sn=R("outline","photo-scan","PhotoScan",yn);const zn=[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 9l5 -5l5 5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]],Ie=R("outline","upload","Upload",zn),Cn=I({method:"POST"}).handler(A("187e529cef0f3031f66cb9ad7c4e6c750801c48be9a735e8ad181bb0a481aa49")),wn=I({method:"POST"}).handler(A("1460ae44e155c8dfecd6ceee24db8a80cf69b7802860fdd62e18a67c8b6e6704")),In=I({method:"POST"}).handler(A("8f87b9b75a7c2d7fb4abff62475835586541d2d14874a3a42e699a6f45fedd16")),An=I({method:"POST"}).handler(A("dead70b057543f333c2f7b5c04e801fa0c491907f3dbc3e60f89bcb9c171c67e")),Mn=I({method:"POST"}).handler(A("3265ad4bc7d0b71fac892879d87de9a2580aefd06396a4669167b7fd68a71494")),Pn=I({method:"POST"}).handler(A("becedfafb9962dc48114658bdba43d852f72733856e7d99d711b3b750735a273")),En=I({method:"POST"}).handler(A("70a7cf203b4794de95cf7c27fd80881c2dd37c08787ebc75fe059ee0ba5d8287")),Fn=I({method:"POST"}).handler(A("d840745e32a78659650dc65d87b6fd58d92806852028942a629730b71a101fa6")),K={summarization:"@cf/meta/llama-3.2-3b-instruct",tagline:"@cf/meta/llama-3.2-3b-instruct",translation:"@cf/meta/m2m100-1.2b",textToSpeech:"@cf/deepgram/aura-1",imageCaption:"@cf/llava-hf/llava-1.5-7b-hf"},H=["@cf/black-forest-labs/flux-1-schnell","@cf/bytedance/stable-diffusion-xl-lightning","@cf/lykon/dreamshaper-8-lcm"],Tn=H[0],Ln=["fal-ai/flux/schnell","fal-ai/nano-banana","openai/gpt-image-2"],Ae="fal-ai/nano-banana",Un="fal-ai/nano-banana/edit",Dn="openai/gpt-image-2",On=1e6;function $n(){const t=[aa(),sa(),ra(),la()],a=r.useRef(null),[m,g]=r.useState(),[_,p]=r.useState(),[d,u]=r.useState(),[x,l]=r.useState(t[0]),[v,o]=r.useState(""),[k,b]=r.useState(),[S,i]=r.useState(!1);function C(c){const f=c.target.files?.[0];if(!f)return;if(!f.type.startsWith("image/")){b(ue());return}
1if(f.size>On){b(`Image is too large (${(f.size/1024).toFixed(0)} KB). ${ce()}`);return}const U=new FileReader;U.onloadend=()=>{const q=U.result;g(q),p(q.replace(/^data:image\/[^;]+;base64,/,"")),u({name:f.name,size:f.size}),o(""),b(void 0)},U.onerror=()=>b(pe()),U.readAsDataURL(f)}async function n(){if(_){b(void 0),o(""),i(!0);try{const c=await Fn({data:{imageBase64:_,prompt:x}});o(c.description)}catch(c){b(c instanceof Error?c.message:Ve())}finally{i(!1)}}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(Sn,{className:"size-5 text-primary"}),ga()]}),e.jsxs(F,{children:[Be()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:K.imageCaption})]})]}),e.jsx(T,{children:e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:Xe()}),e.jsx("input",{ref:a,type:"file",accept:"image/*",className:"hidden",onChange:C}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs(y,{type:"button",variant:"outline",size:"sm",onClick:()=>a.current?.click(),children:[e.jsx(Ie,{className:"mr-1 size-4"}),d?ie():de()]}),d&&e.jsxs("span",{className:"text-xs text-muted-foreground",children:[d.name," · ",(d.size/1024).toFixed(0)," KB"]})]}),e.jsx("div",{className:"flex aspect-square w-full items-center justify-center overflow-hidden rounded-md border bg-muted/30",children:m?e.jsx("img",{src:m,alt:ca(),className:"size-full object-cover"}):e.jsx("span",{className:"px-4 text-center text-sm text-muted-foreground",children:Ke()})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-caption-prompt",children:pa()}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(c=>{const f=x===c;return e.jsx("button",{type:"button",onClick:()=>l(c),className:f?"rounded-full border border-primary bg-primary px-3 py-1 text-xs text-primary-foreground":"rounded-full border border-border bg-muted/40 px-3 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted",children:c.length>28?`${c.slice(0,28)}…`:c},c)})}),e.jsx(L,{id:"ai-caption-prompt",rows:3,value:x,onChange:c=>l(c.target.value)}),e.jsx(y,{type:"button",onClick:n,disabled:S||!_||x.trim().length===0,children:S?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),Qe()]}):Oe()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:Ye()}),e.jsx("div",{className:"min-h-[160px] rounded-md border bg-muted/30 p-4 text-sm leading-relaxed whitespace-pre-wrap",children:k?e.jsx("span",{className:"text-destructive",children:k}):S?e.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(z,{className:"size-4 animate-spin"}),ua()]}):v||e.jsx("span",{className:"text-muted-foreground",children:Re()})})]})]})]})})]})}const Me=[{value:H[0],label:"Flux.1 Schnell",hint:"Default · 12B distilled flow transformer"},{value:H[1],label:"SDXL Lightning",hint:"Lightning-fast 1024px generations",beta:!0},{value:H[2],label:"DreamShaper 8 LCM",hint:"Photorealistic Stable Diffusion fine-tune"}],te=Me.map(t=>({...t,label:t.beta?`${t.label} (Beta)`:t.label}));function Bn(){const t=[{id:"astronaut-panda",label:je(),prompt:be()},{id:"cyberpunk-tokyo",label:ve(),prompt:ke()},{id:"watercolor-village",label:Ne(),prompt:ye()},{id:"product-earbuds",label:Se(),prompt:ze()},{id:"pixel-dragon",label:Ce(),prompt:we()}],[a,m]=r.useState(t[0].id),[g,_]=r.useState(t[0].prompt),[p,d]=r.useState(Tn),[u,x]=r.useState(),[l,v]=r.useState(),[o,k]=r.useState(!1),b=Me.find(n=>n.value===p);function S(n){const c=t.find(f=>f.id===n);c&&(m(n),_(c.prompt))}function i(n){_(n);const c=t.find(f=>f.prompt===n);m(c?.id??null)}async function C(){v(void 0),x(void 0),k(!0);try{const n=await En({data:{prompt:g,model:p}});x(n.imageUrl)}catch(n){v(n instanceof Error?n.message:xe())}finally{k(!1)}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(ne,{className:"size-5 text-primary"}),At()]}),e.jsxs(F,{children:[Aa()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:p})," "]})]}),e.jsxs(T,{children:[e.jsxs("div",{className:"mb-4 space-y-1.5",children:[e.jsx(h,{className:"text-xs text-muted-foreground",children:_e()}),e.jsxs(D,{items:te,value:p,onValueChange:n=>{n&&d(n)},children:[e.jsx(O,{className:"w-72",size:"sm",children:e.jsx($,{})}),e.jsx(B,{children:te.map(n=>e.jsx(G,{value:n.value,label:n.label,children:n.label},n.value))})]}),b&&e.jsx("p",{className:"text-xs text-muted-foreground",children:b.hint})]}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-cf-image-prompt",children:re()}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(n=>{const c=a===n.id;return e.jsx("button",{type:"button",onClick:()=>S(n.id),className:J("rounded-full border px-3 py-1 text-xs transition-colors",c?"border-primary bg-primary text-primary-foreground":"border-border bg-muted/40 text-muted-foreground hover:bg-muted"),children:n.label},n.id)})}),e.jsx(L,{id:"ai-cf-image-prompt",rows:6,value:g,onChange:n=>i(n.target.value),placeholder:fe()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[g.length," ",W(),a===null&&` · ${le()}`]}),e.jsx(y,{type:"button",onClick:C,disabled:o||g.trim().length<3,children:o?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),he()]}):me()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(h,{children:ee()}),u&&!o&&e.jsxs(y,{type:"button",size:"sm",variant:"outline",onClick:()=>Z(u,`cf-${p.replace(/[@/]/g,"-")}-${Date.now()}.jpg`),children:[e.jsx(Y,{className:"mr-1 size-4"}),Q()]})]}),e.jsx("div",{className:"flex aspect-square w-full items-center justify-center overflow-hidden rounded-md border bg-muted/30",children:l?e.jsx("span",{className:"px-4 text-center text-sm text-destructive",children:l}):o?e.jsx(z,{className:"size-8 animate-spin text-muted-foreground"}):u?e.jsx("img",{src:u,alt:oe(),className:"size-full object-cover"}):e.jsx("span",{className:"px-4 text-center text-sm text-muted-foreground",children:ge()})})]})]})]})]})}const X=[{value:Ae,label:"Nano Banana",hint:"Google's image model · ~$0.039 / image"},{value:Ln[0],label:"Flux Schnell",hint:"Fast & cheap · ~$0.003 / image"},{value:Dn,label:"GPT Image 2",hint:"OpenAI's premium model · sharp text & photoreal · slower (~30s, quality=low)"}];function Gn(){const t=[{id:"astronaut-panda",label:je(),prompt:be()},{id:"cyberpunk-tokyo",label:ve(),prompt:ke()},{id:"watercolor-village",label:Ne(),prompt:ye()}
1,{id:"product-earbuds",label:Se(),prompt:ze()},{id:"pixel-dragon",label:Ce(),prompt:we()}],[a,m]=r.useState(t[0].id),[g,_]=r.useState(t[0].prompt),[p,d]=r.useState(Ae),[u,x]=r.useState(),[l,v]=r.useState(),[o,k]=r.useState(!1),b=X.find(n=>n.value===p);function S(n){const c=t.find(f=>f.id===n);c&&(m(n),_(c.prompt))}function i(n){_(n);const c=t.find(f=>f.prompt===n);m(c?.id??null)}async function C(){v(void 0),x(void 0),k(!0);try{const n=await An({data:{prompt:g,model:p}});x(n.imageUrl)}catch(n){v(n instanceof Error?n.message:xe())}finally{k(!1)}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(Pe,{className:"size-5 text-primary"}),Pt()]}),e.jsxs(F,{children:[Pa()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:p})," "]})]}),e.jsxs(T,{children:[e.jsxs("div",{className:"mb-4 space-y-1.5",children:[e.jsx(h,{className:"text-xs text-muted-foreground",children:_e()}),e.jsxs(D,{items:X,value:p,onValueChange:n=>{n&&d(n)},children:[e.jsx(O,{className:"w-72",size:"sm",children:e.jsx($,{})}),e.jsx(B,{children:X.map(n=>e.jsx(G,{value:n.value,label:n.label,children:n.label},n.value))})]}),b&&e.jsx("p",{className:"text-xs text-muted-foreground",children:b.hint})]}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-image-prompt",children:re()}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(n=>{const c=a===n.id;return e.jsx("button",{type:"button",onClick:()=>S(n.id),className:J("rounded-full border px-3 py-1 text-xs transition-colors",c?"border-primary bg-primary text-primary-foreground":"border-border bg-muted/40 text-muted-foreground hover:bg-muted"),children:n.label},n.id)})}),e.jsx(L,{id:"ai-image-prompt",rows:6,value:g,onChange:n=>i(n.target.value),placeholder:fe()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[g.length," ",W(),a===null&&` · ${le()}`]}),e.jsx(y,{type:"button",onClick:C,disabled:o||g.trim().length<3,children:o?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),he()]}):me()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(h,{children:ee()}),u&&!o&&e.jsxs(y,{type:"button",size:"sm",variant:"outline",onClick:()=>Z(u,`fal-${p.replace(/[/]/g,"-")}-${Date.now()}.jpg`),children:[e.jsx(Y,{className:"mr-1 size-4"}),Q()]})]}),e.jsx("div",{className:"flex aspect-square w-full items-center justify-center overflow-hidden rounded-md border bg-muted/30",children:l?e.jsx("span",{className:"px-4 text-center text-sm text-destructive",children:l}):o?e.jsx(z,{className:"size-8 animate-spin text-muted-foreground"}):u?e.jsx("img",{src:u,alt:oe(),className:"size-full object-cover"}):e.jsx("span",{className:"px-4 text-center text-sm text-muted-foreground",children:ge()})})]})]})]})]})}const Rn=1e6;function Wn(){const t=[{id:"caricature",label:Ja(),prompt:Za()},{id:"pixar",label:et(),prompt:tt()},{id:"anime",label:nt(),prompt:it()}],a=r.useRef(null),[m,g]=r.useState(),[_,p]=r.useState(),[d,u]=r.useState(),[x,l]=r.useState(t[0].id),[v,o]=r.useState(t[0].prompt),[k,b]=r.useState(),[S,i]=r.useState(),[C,n]=r.useState(!1);function c(j){const N=t.find(w=>w.id===j);N&&(l(j),o(N.prompt))}function f(j){o(j);const N=t.find(w=>w.prompt===j);l(N?.id??null)}function U(j){const N=j.target.files?.[0];if(!N)return;if(!N.type.startsWith("image/")){i(ue());return}if(N.size>Rn){i(`Image is too large (${(N.size/1024).toFixed(0)} KB). ${ce()}`);return}const w=new FileReader;w.onloadend=()=>{const ae=w.result;g(ae),p(ae),u({name:N.name,size:N.size}),b(void 0),i(void 0)},w.onerror=()=>i(pe()),w.readAsDataURL(N)}async function q(){if(_){i(void 0),b(void 0),n(!0);try{const j=await Mn({data:{imageBase64:_,prompt:v}});b(j.imageUrl)}catch(j){i(j instanceof Error?j.message:Ga())}finally{n(!1)}}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(Nn,{className:"size-5 text-primary"}),mt()]}),e.jsxs(F,{children:[La()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:Un})]})]}),e.jsx(T,{children:e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:Wa()}),e.jsx("input",{ref:a,type:"file",accept:"image/*",className:"hidden",onChange:U}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs(y,{type:"button",variant:"outline",size:"sm",onClick:()=>a.current?.click(),children:[e.jsx(Ie,{className:"mr-1 size-4"}),d?ie():de()]}),d&&e.jsxs("span",{className:"text-xs text-muted-foreground",children:[d.name," · ",(d.size/1024).toFixed(0)," KB"]}
1)]}),e.jsx("div",{className:"flex aspect-square w-full items-center justify-center overflow-hidden rounded-md border bg-muted/30",children:m?e.jsx("img",{src:m,alt:ot(),className:"size-full object-cover"}):e.jsx("span",{className:"px-4 text-center text-sm text-muted-foreground",children:$a()})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-image-edit-prompt",children:_t()}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(j=>{const N=x===j.id;return e.jsx("button",{type:"button",onClick:()=>c(j.id),className:J("rounded-full border px-3 py-1 text-xs transition-colors",N?"border-primary bg-primary text-primary-foreground":"border-border bg-muted/40 text-muted-foreground hover:bg-muted"),children:j.label},j.id)})}),e.jsx(L,{id:"ai-image-edit-prompt",rows:4,value:v,onChange:j=>f(j.target.value),placeholder:Ha()}),e.jsx(y,{type:"button",onClick:q,disabled:C||!_||v.trim().length<5,children:C?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),qa()]}):Fa()})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(h,{children:ee()}),k&&!C&&e.jsxs(y,{type:"button",size:"sm",variant:"outline",onClick:()=>Z(k,`avatar-stylized-${Date.now()}.png`),children:[e.jsx(Y,{className:"mr-1 size-4"}),Q()]})]}),e.jsx("div",{className:"flex aspect-square w-full items-center justify-center overflow-hidden rounded-md border bg-muted/30",children:S?e.jsx("span",{className:"px-4 text-center text-sm text-destructive",children:S}):C?e.jsx(z,{className:"size-8 animate-spin text-muted-foreground"}):k?e.jsx("img",{src:k,alt:dt(),className:"size-full object-cover"}):e.jsx("span",{className:"px-4 text-center text-sm text-muted-foreground",children:Da()})})]})]})})]})}function Kn(){const[t,a]=r.useState(Ht().trim()),[m,g]=r.useState(""),[_,p]=r.useState(),[d,u]=r.useState(!1);async function x(){p(void 0),g(""),u(!0);try{const l=await Cn({data:{text:t}});g(l.summary)}catch(l){p(l instanceof Error?l.message:$t())}finally{u(!1)}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(Ee,{className:"size-5 text-primary"}),Zt()]}),e.jsxs(F,{children:[Lt()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:K.summarization})]})]}),e.jsx(T,{children:e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-summarization-input",children:Jt()}),e.jsx(L,{id:"ai-summarization-input",rows:10,value:t,onChange:l=>a(l.target.value),placeholder:qt()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.length," ",W()]}),e.jsx(y,{type:"button",onClick:x,disabled:d||t.trim().length<50,children:d?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),Wt()]}):Ft()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:Gt()}),e.jsx("div",{className:"min-h-[256px] rounded-md border bg-muted/30 p-4 text-sm leading-relaxed whitespace-pre-wrap",children:_?e.jsx("span",{className:"text-destructive",children:_}):m||e.jsx("span",{className:"text-muted-foreground",children:Dt()})})]})]})})]})}function qn(){const[t,a]=r.useState(xs()),[m,g]=r.useState([]),[_,p]=r.useState(),[d,u]=r.useState(!1);async function x(){p(void 0),g([]),u(!0);try{const l=await In({data:{product:t}});g(l.taglines)}catch(l){p(l instanceof Error?l.message:is())}finally{u(!1)}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(ne,{className:"size-5 text-primary"}),fs()]}),e.jsxs(F,{children:[ts()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:K.tagline})]})]}),e.jsx(T,{children:e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-tagline-input",children:os()}),e.jsx(L,{id:"ai-tagline-input",rows:8,value:t,onChange:l=>a(l.target.value),placeholder:ms()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.length," ",W()]}),e.jsx(y,{type:"button",onClick:x,disabled:d||t.trim().length<10,children:d?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),ds()]}):es()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:_s()}),e.jsx("div",{className:"min-h-[208px] rounded-md border bg-muted/30 p-4 text-sm leading-relaxed",children:_?e.jsx("span",{className:"text-destructive",children:_}):m.length>0?e.jsx("ol",{className:"list-decimal space-y-2 pl-5",children:m.map(l=>e.jsx("li",{children:l},l))}):e.jsx("span",{className:"text-muted-foreground",children:ns()})})]})]})})]})}const V=[{value:"english",label:"English"},{value:"chinese",label:"中文 Chinese"},{value:"french",label:"Français French"},{value:"german",label:"Deutsch German"},{value:"spanish",label:"Español Spanish"},{value:"japanese",label:"日本語 Japanese"},{value:"korean",label:"한국어 Korean"},{value:"russian",label:"Русский Russian"},{value:"portuguese",label:"Português Portuguese"},{value:"arabic",label:"العربية Arabic"}];function Vn(){const[t,a]=r.useState(Ds()),[m,g]=r.useState("english"),[_,p]=r.useState("chinese"),[d,u]=r.useState(""),[x,l]=r.useState(),[v,o]=r.useState(!1);function k(){g(_),p(m),a(d||t),u("")}async function b(){l(void 0),u(""),o(!0);try{const i=await wn({data:{text:t,sourceLang:m,targetLang:_}});u(i.translatedText)}catch(i){l(i instanceof Error?i.message:zs())}finally{o(!1)}}const S=m===_;return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(Fe,{className:"size-5 text-primary"}),Ws()]}),e.jsxs(F,{children:[ks()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:K.translation})]})]}),e.jsxs(T,{children:[e.jsxs("div",{className:"mb-4 flex flex-wrap items-end gap-3",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(h,{className:"text-xs text-muted-foreground",children:ws()}),e.jsxs(D,{items:V,value:m,onValueChange:i=>{i&&g(i)},children:[e.jsx(O,{className:"w-44",size:"sm",children:e.jsx($,{})}),e.jsx(B,{children:V.map(i=>e.jsx(G,{value:i.value,label:i.label,children:i.label},i.value))})]})]}),e.jsx(y,{type:"button",variant:"outline",size:"icon",className:"mb-0.5 shrink-0",onClick:k,"aria-label":Gs(),children:e.jsx(jn,{className:"size-4"})}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(h,{className:"text-xs text-muted-foreground",children:qs()}),e.jsxs(D,{items:V,value:_,onValueChange:i=>{i&&p(i)},children:[e.jsx(O,{className:"w-44",size:"sm",children:e.jsx($,{})}),e.jsx(B,{children:V.map(i=>e.jsx(G,{value:i.value,label:i.label,children:i.label},i.value))})]})]})]}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-translation-input",children:$s()}),e.jsx(L,{id:"ai-translation-input",rows:6,value:t,onChange:i=>a(i.target.value),placeholder:Fs()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.length," ",W()]}),e.jsx(y,{type:"button",onClick:b,disabled:v||S||t.trim().length===0,children:v?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),Ps()]}):bs()}),S&&e.jsx("p",{className:"text-xs text-destructive",children:Ls()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:As()}),e.jsx("div",{className:"min-h-[160px] rounded-md border bg-muted/30 p-4 text-sm leading-relaxed whitespace-pre-wrap",children:x?e.jsx("span",{className:"text-destructive",children:x}):d||e.jsx("span",{className:"text-muted-foreground",children:ys()})})]})]})]})]})}const se=[{value:"asteria",label:"Asteria · Female (US)"},{value:"luna",label:"Luna · Female (US)"},{value:"stella",label:"Stella · Female (US)"},{value:"athena",label:"Athena · Female (UK)"},{value:"hera",label:"Hera · Female (US)"},{value:"angus",label:"Angus · Male (IE)"},{value:"arcas",label:"Arcas · Male (US)"},{value:"orion",label:"Orion · Male (US)"},{value:"orpheus",label:"Orpheus · Male (US)"},{value:"perseus",label:"Perseus · Male (US)"},{value:"helios",label:"Helios · Male (UK)"},{value:"zeus",label:"Zeus · Male (US)"}];function Hn(){const[t,a]=r.useState(un()),[m,g]=r.useState("asteria"),[_,p]=r.useState(),[d,u]=r.useState(),[x,l]=r.useState(!1);async function v(){u(void 0),p(void 0),l(!0);try{const o=await Pn({data:{text:t,speaker:m}});p(o.audioUrl)}catch(o){u(o instanceof Error?o.message:tn())}finally{l(!1)}}return e.jsxs(M,{children:[e.jsxs(P,{children:[e.jsxs(E,{className:"flex items-center gap-2",children:[e.jsx(vn,{className:"size-5 text-primary"}),gn()]}),e.jsxs(F,{children:[Zs()," ",e.jsx("code",{className:"rounded bg-muted px-1 py-0.5 text-xs",children:K.textToSpeech})]})]}),e.jsxs(T,{children:[e.jsx("div",{className:"mb-4 flex flex-wrap items-end gap-3",children:e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(h,{className:"text-xs text-muted-foreground",children:hn()}),e.jsxs(D,{items:se,value:m,onValueChange:o=>{o&&g(o)},children:[e.jsx(O,{className:"w-56",size:"sm",children:e.jsx($,{})}),e.jsx(B,{children:se.map(o=>e.jsx(G,{value:o.value,label:o.label,children:o.label},o.value))})]})]})}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{htmlFor:"ai-tts-input",children:nn()}),e.jsx(L,{id:"ai-tts-input",rows:6,value:t,onChange:o=>a(o.target.value),placeholder:pn()}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[t.length," characters · ~$",(t.length/1e3*.015).toFixed(4)," ",Js()]}),e.jsx(y,{type:"button",onClick:v,disabled:x||t.trim().length===0,children:x?e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"mr-1 size-4 animate-spin"}),cn()]}):Hs()})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{children:ln()}),e.jsx("div",{className:"flex min-h-[160px] w-full items-center justify-center rounded-md border bg-muted/30 p-4",children:d?e.jsx("span",{className:"text-center text-sm text-destructive",children:d}):x?e.jsx(z,{className:"size-8 animate-spin text-muted-foreground"}):_?e.jsx("audio",{controls:!0,src:_,className:"w-full",children:e.jsx("track",{kind:"captions"})}):e.jsx("span",{className:"text-center text-sm text-muted-foreground",children:en()})})]})]})]})]})}function sr(){return e.jsxs("div",{className:"flex min-h-svh flex-col",children:[e.jsx(Ue,{showBack:!0}),e.jsx(Le,{className:"py-16 px-4",children:e.jsxs("div",{className:"mx-auto max-w-5xl space-y-10 pb-16",children:[e.jsxs("div",{className:"space-y-4 text-center",children:[e.jsx("h1",{className:"text-3xl font-bold tracking-tight",children:Te()}),e.jsx("p",{className:"text-lg text-muted-foreground",children:Ca()})]}),e.jsx("section",{id:"text-summarization",className:"scroll-mt-20",children:e.jsx(Kn,{})}),e.jsx("section",{id:"translation",className:"scroll-mt-20",children:e.jsx(Vn,{})}),e.jsx("section",{id:"tagline-generator",className:"scroll-mt-20",children:e.jsx(qn,{})}),e.jsx("section",{id:"text-to-speech",className:"scroll-mt-20",children:e.jsx(Hn,{})}),e.jsx("section",{id:"image-captioning",className:"scroll-mt-20",children:e.jsx($n,{})}),e.jsx("section",{id:"image-generator-cloudflare",className:"scroll-mt-20",children:e.jsx(Bn,{})}),e.jsx("section",{id:"image-generator-fal",className:"scroll-mt-20",children:e.jsx(Gn,{})}),e.jsx("section",{id:"image-editing",className:"scroll-mt-20",children:e.jsx(Wn,{})})]})})]})}export{sr as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.