1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3739],{53739:function(e,n,i){i.r(n),i.d(n,{ApiFeature:function(){return b}});var o=i(81514),t=i(64539),r=i(78111),s=i.n(r),a=i(19617),l=i(92622);let d=t.default.div.withConfig({componentId:"sc-1aea8b5d-0"})(["display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;width:100%;@media (max-width:968px){grid-template-columns:1fr;gap:2rem;}"]),c=t.default.div.withConfig({componentId:"sc-1aea8b5d-1"})(["display:flex;flex-direction:column;gap:1.5rem;"]),p=t.default.p.withConfig({componentId:"sc-1aea8b5d-2"})(["font-size:1.1rem;line-height:1.7;color:#475569;margin:0;@media (max-width:768px){font-size:1rem;}"]),h=t.default.ul.withConfig({componentId:"sc-1aea8b5d-3"})(["list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem;"]),m=t.default.li.withConfig({componentId:"sc-1aea8b5d-4"})(["display:flex;align-items:flex-start;gap:0.75rem;font-size:1rem;color:#334155;svg{flex-shrink:0;margin-top:2px;color:#10b981;}"]),f=(0,t.default)(s()).withConfig({componentId:"sc-1aea8b5d-5"})(["display:inline-flex;align-items:center;gap:0.5rem;padding:0.875rem 1.5rem;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);color:#ffffff;font-size:1rem;font-weight:600;border-radius:10px;text-decoration:none;width:fit-content;transition:all 0.2s ease;&:hover{box-shadow:0 8px 20px rgba(59,130,246,0.3);}"]),x=t.default.div.withConfig({componentId:"sc-1aea8b5d-6"})(["background:#0f172a;border-radius:16px;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,0.15);"]),g=t.default.div.withConfig({componentId:"sc-1aea8b5d-7"})(["display:flex;align-items:center;gap:8px;padding:16px 20px;background:#1e293b;border-bottom:1px solid #334155;"]),u=t.default.span.withConfig({componentId:"sc-1aea8b5d-8"})(["width:12px;height:12px;border-radius:50%;background:",";"],e=>e.$color),j=t.default.span.withConfig({componentId:"sc-1aea8b5d-9"})(["margin-left:auto;font-size:13px;color:#94a3b8;font-family:'JetBrains Mono',monospace;"]),w=t.default.pre.withConfig({componentId:"sc-1aea8b5d-10"})(["padding:24px;margin:0;font-family:'JetBrains Mono',monospace;font-size:13px;line-height:1.7;color:#e2e8f0;overflow-x:auto;.keyword{color:#c084fc;}.string{color:#86efac;}.property{color:#7dd3fc;}.comment{color:#64748b;}"]),b=()=>(0,o.jsxs)(l.S$,{id:"api-feature",children:[(0,o.jsx)(l.M$,{title:a.N.t("REST API Integration"),subtitle:a.N.t("Generate mind maps programmatically with our powerful REST API")}),(0,o.jsxs)(d,{children:[(0,o.jsxs)(c,{children:[(0,o.jsx)(p,{children:a.N.t("Integrate ClipMind directly into your applications, workflows, and automation pipelines. Our REST API allows you to generate professional mind map images from any text content with a simple HTTP request.")}),(0,o.jsxs)(h,{children:[(0,o.jsxs)(m,{children:[(0,o.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,o.jsx)("polyline",{points:"20 6 9 17 4 12"})}),a.N.t("Generate PNG images from text or markdown")]}),(0,o.jsxs)(m,{children:[(0,o.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,o.jsx)("polyline",{points:"20 6 9 17 4 12"})}),a.N.t("Multiple themes, layouts, and customization options")]}),(0,o.jsxs)(m,{children:[(0,o.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,o.jsx)("polyline",{points:"20 6 9 17 4 12"})}),a.N.t("AI-powered summarization and brainstorming modes")]}),(0,o.jsxs)(m,{children:[(0,o.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,o.jsx)("polyline",{points:"20 6 9 17 4 12"})}),a.N.t("Secure JWT-based authentication")]})]}),(0,o.jsxs)(f,{href:"/feature/api",children:[a.N.t("Explore API Documentation"),(0,o.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,o.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,o.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]}),(0,o.jsxs)(x,{children:[(0,o.jsxs)(g,{children:[(0,o.jsx)(u,{$color:"#ff5f56"}),(0,o.jsx)(u,{$color:"#ffbd2e"}),(0,o.jsx)(u,{$color:"#27c93f"}),(0,o.jsx)(j,{children:"cURL"})]}),(0,o.jsxs)(w,{children:[(0,o.jsx)("span",{className:"keyword",children:"curl"}
1)," -X POST \\","\n"," ","https://api.clipmind.tech/public/mindmaps/image \\","\n"," ","-H"," ",(0,o.jsx)("span",{className:"string",children:'"Authorization: Bearer TOKEN"'})," \\","\n"," ","-d ",(0,o.jsxs)("span",{className:"string",children:["'","{"]}),"\n"," ",(0,o.jsx)("span",{className:"property",children:'"text"'}),":"," ",(0,o.jsx)("span",{className:"string",children:'"Your content here"'}),",","\n"," ",(0,o.jsx)("span",{className:"property",children:'"options"'}),": ","{","\n"," ",(0,o.jsx)("span",{className:"property",children:'"theme"'}),":"," ",(0,o.jsx)("span",{className:"string",children:'"dark"'}),",","\n"," ",(0,o.jsx)("span",{className:"property",children:'"layout"'}),":"," ",(0,o.jsx)("span",{className:"string",children:'"mindmap"'}),"\n"," ","}","\n"," ",(0,o.jsxs)("span",{className:"string",children:["'","}"]})]})]})]})]})}}]);
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.