pipeline_schema.json 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843
  1. {
  2. "acoustic-echo-cancellation": {
  3. "input": {
  4. "type": "object",
  5. "properties": {
  6. "nearend_mic": {
  7. "type": "string",
  8. "description": "Base64 encoded audio file or url string.."
  9. },
  10. "farend_speech": {
  11. "type": "string",
  12. "description": "Base64 encoded audio file or url string.."
  13. }
  14. }
  15. },
  16. "parameters": {},
  17. "output": {
  18. "type": "object",
  19. "properties": {
  20. "output_pcm": {
  21. "type": "string",
  22. "description": "The base64 encoded PCM."
  23. }
  24. }
  25. }
  26. },
  27. "acoustic-noise-suppression": {
  28. "input": {
  29. "type": "object",
  30. "properties": {
  31. "audio": {
  32. "type": "string",
  33. "description": "Base64 encoded audio file or url string.."
  34. }
  35. }
  36. },
  37. "parameters": {},
  38. "output": {
  39. "type": "object",
  40. "properties": {
  41. "output_pcm": {
  42. "type": "string",
  43. "description": "The base64 encoded PCM."
  44. }
  45. }
  46. }
  47. },
  48. "action-detection": {
  49. "input": {
  50. "type": "object",
  51. "properties": {
  52. "video": {
  53. "type": "string",
  54. "description": "Base64 encoded video file or url string.."
  55. }
  56. }
  57. },
  58. "parameters": {},
  59. "output": {
  60. "type": "object",
  61. "properties": {
  62. "timestamps": {
  63. "type": "string"
  64. },
  65. "labels": {
  66. "type": "array",
  67. "items": {
  68. "type": "string"
  69. }
  70. },
  71. "scores": {
  72. "type": "array",
  73. "items": {
  74. "type": "number"
  75. }
  76. },
  77. "boxes": {
  78. "type": "array",
  79. "items": {
  80. "type": "number"
  81. }
  82. }
  83. }
  84. }
  85. },
  86. "action-recognition": {
  87. "input": {
  88. "type": "object",
  89. "properties": {
  90. "video": {
  91. "type": "string",
  92. "description": "Base64 encoded video file or url string.."
  93. }
  94. }
  95. },
  96. "parameters": {},
  97. "output": {
  98. "type": "object",
  99. "properties": {
  100. "labels": {
  101. "type": "array",
  102. "items": {
  103. "type": "string"
  104. }
  105. }
  106. }
  107. }
  108. },
  109. "animal-recognition": {
  110. "input": {},
  111. "parameters": {},
  112. "output": {
  113. "type": "object"
  114. }
  115. },
  116. "auto-speech-recognition": {
  117. "input": {
  118. "type": "object",
  119. "properties": {
  120. "wav": {
  121. "type": "string",
  122. "description": "Base64 encoded audio file or url string.."
  123. },
  124. "text": {
  125. "type": "string",
  126. "description": "The input text."
  127. }
  128. }
  129. },
  130. "parameters": {},
  131. "output": {
  132. "type": "object",
  133. "properties": {
  134. "text": {
  135. "type": "string"
  136. }
  137. }
  138. }
  139. },
  140. "audio-quantization": {
  141. "input": {
  142. "type": "object",
  143. "properties": {
  144. "wav": {
  145. "type": "string",
  146. "description": "Base64 encoded audio file or url string.."
  147. }
  148. }
  149. },
  150. "parameters": {},
  151. "output": {
  152. "type": "object",
  153. "properties": {
  154. "output_wav": {
  155. "type": "string",
  156. "description": "The base64 encoded WAV."
  157. }
  158. }
  159. }
  160. },
  161. "bad-image-detecting": {
  162. "input": {
  163. "type": "object",
  164. "properties": {
  165. "image": {
  166. "type": "string",
  167. "description": "Base64 encoded image file or url string."
  168. }
  169. }
  170. },
  171. "parameters": {},
  172. "output": {
  173. "type": "object",
  174. "properties": {
  175. "scores": {
  176. "type": "array",
  177. "items": {
  178. "type": "number"
  179. }
  180. },
  181. "labels": {
  182. "type": "array",
  183. "items": {
  184. "type": "string"
  185. }
  186. }
  187. }
  188. }
  189. },
  190. "body-2d-keypoints": {
  191. "input": {
  192. "type": "object",
  193. "properties": {
  194. "image": {
  195. "type": "string",
  196. "description": "Base64 encoded image file or url string."
  197. }
  198. }
  199. },
  200. "parameters": {},
  201. "output": {
  202. "type": "object",
  203. "properties": {
  204. "keypoints": {
  205. "type": "array",
  206. "items": {
  207. "type": "number"
  208. }
  209. },
  210. "scores": {
  211. "type": "array",
  212. "items": {
  213. "type": "number"
  214. }
  215. },
  216. "boxes": {
  217. "type": "array",
  218. "items": {
  219. "type": "number"
  220. }
  221. }
  222. }
  223. }
  224. },
  225. "body-3d-keypoints": {
  226. "input": {
  227. "type": "object",
  228. "properties": {
  229. "video": {
  230. "type": "string",
  231. "description": "Base64 encoded video file or url string.."
  232. }
  233. }
  234. },
  235. "parameters": {},
  236. "output": {
  237. "type": "object",
  238. "properties": {
  239. "keypoints": {
  240. "type": "array",
  241. "items": {
  242. "type": "number"
  243. }
  244. },
  245. "timestamps": {
  246. "type": "string"
  247. },
  248. "output_video": {
  249. "type": "string",
  250. "description": "The base64 encoded video."
  251. }
  252. }
  253. }
  254. },
  255. "card-detection": {
  256. "input": {},
  257. "parameters": {},
  258. "output": {
  259. "type": "object",
  260. "properties": {
  261. "scores": {
  262. "type": "array",
  263. "items": {
  264. "type": "number"
  265. }
  266. },
  267. "boxes": {
  268. "type": "array",
  269. "items": {
  270. "type": "number"
  271. }
  272. },
  273. "keypoints": {
  274. "type": "array",
  275. "items": {
  276. "type": "number"
  277. }
  278. }
  279. }
  280. }
  281. },
  282. "chat": {
  283. "input": {
  284. "type": "object",
  285. "properties": {
  286. "text": {
  287. "type": "string",
  288. "description": "The input text."
  289. },
  290. "history": {
  291. "type": "array"
  292. }
  293. }
  294. },
  295. "parameters": {},
  296. "output": {
  297. "type": "object",
  298. "properties": {
  299. "response": {
  300. "type": "object"
  301. },
  302. "history": {
  303. "type": "object"
  304. }
  305. }
  306. }
  307. },
  308. "code-generation": {
  309. "input": {},
  310. "parameters": {},
  311. "output": {
  312. "type": "object"
  313. }
  314. },
  315. "code-translation": {
  316. "input": {},
  317. "parameters": {},
  318. "output": {
  319. "type": "object"
  320. }
  321. },
  322. "competency-aware-translation": {
  323. "input": {
  324. "type": "object",
  325. "properties": {
  326. "text": {
  327. "type": "string",
  328. "description": "The input text."
  329. }
  330. }
  331. },
  332. "parameters": {},
  333. "output": {
  334. "type": "object"
  335. }
  336. },
  337. "controllable-image-generation": {
  338. "input": {
  339. "type": "object",
  340. "properties": {
  341. "image": {
  342. "type": "string",
  343. "description": "Base64 encoded image file or url string."
  344. },
  345. "prompt": {
  346. "type": "string",
  347. "description": "The input text."
  348. }
  349. }
  350. },
  351. "parameters": {},
  352. "output": {
  353. "type": "object",
  354. "properties": {
  355. "output_img": {
  356. "type": "string",
  357. "description": "The base64 encoded image."
  358. }
  359. }
  360. }
  361. },
  362. "crowd-counting": {
  363. "input": {
  364. "type": "object",
  365. "properties": {
  366. "image": {
  367. "type": "string",
  368. "description": "Base64 encoded image file or url string."
  369. }
  370. }
  371. },
  372. "parameters": {},
  373. "output": {
  374. "type": "object",
  375. "properties": {
  376. "scores": {
  377. "type": "array",
  378. "items": {
  379. "type": "number"
  380. }
  381. },
  382. "output_img": {
  383. "type": "string",
  384. "description": "The base64 encoded image."
  385. }
  386. }
  387. }
  388. },
  389. "document-grounded-dialog-generate": {
  390. "input": {
  391. "type": "object",
  392. "properties": {
  393. "query": {
  394. "type": "array"
  395. },
  396. "context": {
  397. "type": "array"
  398. },
  399. "label": {
  400. "type": "array"
  401. }
  402. }
  403. },
  404. "parameters": {},
  405. "output": {
  406. "type": "object",
  407. "properties": {
  408. "text": {
  409. "type": "string"
  410. }
  411. }
  412. }
  413. },
  414. "document-grounded-dialog-rerank": {
  415. "input": {
  416. "type": "object",
  417. "properties": {
  418. "dataset": {
  419. "type": "array"
  420. }
  421. }
  422. },
  423. "parameters": {},
  424. "output": {
  425. "type": "object",
  426. "properties": {
  427. "output": {
  428. "type": "object"
  429. }
  430. }
  431. }
  432. },
  433. "document-grounded-dialog-retrieval": {
  434. "input": {
  435. "type": "object",
  436. "properties": {
  437. "query": {
  438. "type": "array"
  439. },
  440. "positive": {
  441. "type": "array"
  442. },
  443. "negative": {
  444. "type": "array"
  445. }
  446. }
  447. },
  448. "parameters": {},
  449. "output": {
  450. "type": "object",
  451. "properties": {
  452. "output": {
  453. "type": "object"
  454. }
  455. }
  456. }
  457. },
  458. "document-segmentation": {
  459. "input": {},
  460. "parameters": {},
  461. "output": {
  462. "type": "object"
  463. }
  464. },
  465. "document-vl-embedding": {
  466. "input": {},
  467. "parameters": {},
  468. "output": {
  469. "type": "object",
  470. "properties": {
  471. "img_embedding": {
  472. "type": "array",
  473. "items": {
  474. "type": "number"
  475. }
  476. },
  477. "text_embedding": {
  478. "type": "array",
  479. "items": {
  480. "type": "number"
  481. }
  482. }
  483. }
  484. }
  485. },
  486. "domain-specific-object-detection": {
  487. "input": {
  488. "type": "object",
  489. "properties": {
  490. "image": {
  491. "type": "string",
  492. "description": "Base64 encoded image file or url string."
  493. }
  494. }
  495. },
  496. "parameters": {},
  497. "output": {
  498. "type": "object",
  499. "properties": {
  500. "scores": {
  501. "type": "array",
  502. "items": {
  503. "type": "number"
  504. }
  505. },
  506. "labels": {
  507. "type": "array",
  508. "items": {
  509. "type": "string"
  510. }
  511. },
  512. "boxes": {
  513. "type": "array",
  514. "items": {
  515. "type": "number"
  516. }
  517. }
  518. }
  519. }
  520. },
  521. "efficient-diffusion-tuning": {
  522. "input": {},
  523. "parameters": {},
  524. "output": {
  525. "type": "object"
  526. }
  527. },
  528. "extractive-summarization": {
  529. "input": {},
  530. "parameters": {},
  531. "output": {
  532. "type": "object"
  533. }
  534. },
  535. "face-2d-keypoints": {
  536. "input": {
  537. "type": "object",
  538. "properties": {
  539. "image": {
  540. "type": "string",
  541. "description": "Base64 encoded image file or url string."
  542. }
  543. }
  544. },
  545. "parameters": {},
  546. "output": {
  547. "type": "object",
  548. "properties": {
  549. "keypoints": {
  550. "type": "array",
  551. "items": {
  552. "type": "number"
  553. }
  554. },
  555. "poses": {
  556. "type": "array",
  557. "items": {
  558. "type": "array",
  559. "items": {
  560. "type": "number"
  561. }
  562. }
  563. },
  564. "boxes": {
  565. "type": "array",
  566. "items": {
  567. "type": "number"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "face-attribute-recognition": {
  574. "input": {
  575. "type": "object",
  576. "properties": {
  577. "image": {
  578. "type": "string",
  579. "description": "Base64 encoded image file or url string."
  580. }
  581. }
  582. },
  583. "parameters": {},
  584. "output": {
  585. "type": "object",
  586. "properties": {
  587. "scores": {
  588. "type": "array",
  589. "items": {
  590. "type": "number"
  591. }
  592. },
  593. "labels": {
  594. "type": "array",
  595. "items": {
  596. "type": "string"
  597. }
  598. }
  599. }
  600. }
  601. },
  602. "face-detection": {
  603. "input": {
  604. "type": "object",
  605. "properties": {
  606. "image": {
  607. "type": "string",
  608. "description": "Base64 encoded image file or url string."
  609. }
  610. }
  611. },
  612. "parameters": {},
  613. "output": {
  614. "type": "object",
  615. "properties": {
  616. "scores": {
  617. "type": "array",
  618. "items": {
  619. "type": "number"
  620. }
  621. },
  622. "boxes": {
  623. "type": "array",
  624. "items": {
  625. "type": "number"
  626. }
  627. },
  628. "keypoints": {
  629. "type": "array",
  630. "items": {
  631. "type": "number"
  632. }
  633. }
  634. }
  635. }
  636. },
  637. "face-emotion": {
  638. "input": {},
  639. "parameters": {},
  640. "output": {
  641. "type": "object",
  642. "properties": {
  643. "output": {
  644. "type": "object"
  645. },
  646. "boxes": {
  647. "type": "array",
  648. "items": {
  649. "type": "number"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "face-human-hand-detection": {
  656. "input": {},
  657. "parameters": {},
  658. "output": {
  659. "type": "object",
  660. "properties": {
  661. "labels": {
  662. "type": "array",
  663. "items": {
  664. "type": "string"
  665. }
  666. },
  667. "boxes": {
  668. "type": "array",
  669. "items": {
  670. "type": "number"
  671. }
  672. },
  673. "scores": {
  674. "type": "array",
  675. "items": {
  676. "type": "number"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "face-image-generation": {
  683. "input": {
  684. "type": "object",
  685. "properties": {
  686. "number": {
  687. "type": "integer"
  688. }
  689. }
  690. },
  691. "parameters": {},
  692. "output": {
  693. "type": "object",
  694. "properties": {
  695. "output_img": {
  696. "type": "string",
  697. "description": "The base64 encoded image."
  698. }
  699. }
  700. }
  701. },
  702. "face-liveness": {
  703. "input": {},
  704. "parameters": {},
  705. "output": {
  706. "type": "object",
  707. "properties": {
  708. "scores": {
  709. "type": "array",
  710. "items": {
  711. "type": "number"
  712. }
  713. },
  714. "boxes": {
  715. "type": "array",
  716. "items": {
  717. "type": "number"
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "face-quality-assessment": {
  724. "input": {},
  725. "parameters": {},
  726. "output": {
  727. "type": "object",
  728. "properties": {
  729. "scores": {
  730. "type": "array",
  731. "items": {
  732. "type": "number"
  733. }
  734. },
  735. "boxes": {
  736. "type": "array",
  737. "items": {
  738. "type": "number"
  739. }
  740. }
  741. }
  742. }
  743. },
  744. "face-recognition": {
  745. "input": {
  746. "type": "object",
  747. "properties": {
  748. "image": {
  749. "type": "string",
  750. "description": "Base64 encoded image file or url string."
  751. }
  752. }
  753. },
  754. "parameters": {},
  755. "output": {
  756. "type": "object",
  757. "properties": {
  758. "img_embedding": {
  759. "type": "array",
  760. "items": {
  761. "type": "number"
  762. }
  763. }
  764. }
  765. }
  766. },
  767. "face-reconstruction": {
  768. "input": {
  769. "type": "object",
  770. "properties": {
  771. "image": {
  772. "type": "string",
  773. "description": "Base64 encoded image file or url string."
  774. }
  775. }
  776. },
  777. "parameters": {},
  778. "output": {
  779. "type": "object",
  780. "properties": {
  781. "output": {
  782. "type": "object"
  783. }
  784. }
  785. }
  786. },
  787. "facial-expression-recognition": {
  788. "input": {
  789. "type": "object",
  790. "properties": {
  791. "image": {
  792. "type": "string",
  793. "description": "Base64 encoded image file or url string."
  794. }
  795. }
  796. },
  797. "parameters": {},
  798. "output": {
  799. "type": "object",
  800. "properties": {
  801. "scores": {
  802. "type": "array",
  803. "items": {
  804. "type": "number"
  805. }
  806. },
  807. "labels": {
  808. "type": "array",
  809. "items": {
  810. "type": "string"
  811. }
  812. }
  813. }
  814. }
  815. },
  816. "faq-question-answering": {
  817. "input": {
  818. "type": "object",
  819. "properties": {
  820. "query_set": {
  821. "type": "array"
  822. },
  823. "support_set": {
  824. "type": "array"
  825. }
  826. }
  827. },
  828. "parameters": {},
  829. "output": {
  830. "type": "object",
  831. "properties": {
  832. "output": {
  833. "type": "object"
  834. }
  835. }
  836. }
  837. },
  838. "feature-extraction": {
  839. "input": {},
  840. "parameters": {},
  841. "output": {
  842. "type": "object",
  843. "properties": {
  844. "text_embedding": {
  845. "type": "array",
  846. "items": {
  847. "type": "number"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "fid-dialogue": {
  854. "input": {
  855. "type": "object",
  856. "properties": {
  857. "history": {
  858. "type": "string",
  859. "description": "The input text."
  860. },
  861. "knowledge": {
  862. "type": "string",
  863. "description": "The input text."
  864. },
  865. "bot_profile": {
  866. "type": "string",
  867. "description": "The input text."
  868. },
  869. "user_profile": {
  870. "type": "string",
  871. "description": "The input text."
  872. }
  873. }
  874. },
  875. "parameters": {},
  876. "output": {
  877. "type": "object",
  878. "properties": {
  879. "text": {
  880. "type": "string"
  881. }
  882. }
  883. }
  884. },
  885. "fill-mask": {
  886. "input": {
  887. "type": "object",
  888. "properties": {
  889. "text": {
  890. "type": "string",
  891. "description": "The input text."
  892. }
  893. }
  894. },
  895. "parameters": {},
  896. "output": {
  897. "type": "object",
  898. "properties": {
  899. "text": {
  900. "type": "string"
  901. }
  902. }
  903. }
  904. },
  905. "general-recognition": {
  906. "input": {},
  907. "parameters": {},
  908. "output": {
  909. "type": "object"
  910. }
  911. },
  912. "generative-multi-modal-embedding": {
  913. "input": {
  914. "type": "object",
  915. "properties": {
  916. "image": {
  917. "type": "string",
  918. "description": "Base64 encoded image file or url string."
  919. },
  920. "text": {
  921. "type": "string",
  922. "description": "The input text."
  923. }
  924. }
  925. },
  926. "parameters": {},
  927. "output": {
  928. "type": "object",
  929. "properties": {
  930. "img_embedding": {
  931. "type": "array",
  932. "items": {
  933. "type": "number"
  934. }
  935. },
  936. "text_embedding": {
  937. "type": "array",
  938. "items": {
  939. "type": "number"
  940. }
  941. },
  942. "caption": {
  943. "type": "string"
  944. }
  945. }
  946. }
  947. },
  948. "hand-static": {
  949. "input": {},
  950. "parameters": {},
  951. "output": {
  952. "type": "object",
  953. "properties": {
  954. "output": {
  955. "type": "object"
  956. }
  957. }
  958. }
  959. },
  960. "human-detection": {
  961. "input": {
  962. "type": "object",
  963. "properties": {
  964. "image": {
  965. "type": "string",
  966. "description": "Base64 encoded image file or url string."
  967. }
  968. }
  969. },
  970. "parameters": {},
  971. "output": {
  972. "type": "object",
  973. "properties": {
  974. "scores": {
  975. "type": "array",
  976. "items": {
  977. "type": "number"
  978. }
  979. },
  980. "labels": {
  981. "type": "array",
  982. "items": {
  983. "type": "string"
  984. }
  985. },
  986. "boxes": {
  987. "type": "array",
  988. "items": {
  989. "type": "number"
  990. }
  991. }
  992. }
  993. }
  994. },
  995. "human-reconstruction": {
  996. "input": {
  997. "type": "object",
  998. "properties": {
  999. "image": {
  1000. "type": "string",
  1001. "description": "Base64 encoded image file or url string."
  1002. }
  1003. }
  1004. },
  1005. "parameters": {},
  1006. "output": {
  1007. "type": "object",
  1008. "properties": {
  1009. "output": {
  1010. "type": "object"
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "image-body-reshaping": {
  1016. "input": {},
  1017. "parameters": {},
  1018. "output": {
  1019. "type": "object",
  1020. "properties": {
  1021. "output_img": {
  1022. "type": "string",
  1023. "description": "The base64 encoded image."
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "image-captioning": {
  1029. "input": {
  1030. "type": "object",
  1031. "properties": {
  1032. "image": {
  1033. "type": "string",
  1034. "description": "Base64 encoded image file or url string."
  1035. }
  1036. }
  1037. },
  1038. "parameters": {},
  1039. "output": {
  1040. "type": "object",
  1041. "properties": {
  1042. "caption": {
  1043. "type": "string"
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "image-classification": {
  1049. "input": {
  1050. "type": "object",
  1051. "properties": {
  1052. "image": {
  1053. "type": "string",
  1054. "description": "Base64 encoded image file or url string."
  1055. }
  1056. }
  1057. },
  1058. "parameters": {},
  1059. "output": {
  1060. "type": "object",
  1061. "properties": {
  1062. "scores": {
  1063. "type": "array",
  1064. "items": {
  1065. "type": "number"
  1066. }
  1067. },
  1068. "labels": {
  1069. "type": "array",
  1070. "items": {
  1071. "type": "string"
  1072. }
  1073. }
  1074. }
  1075. }
  1076. },
  1077. "image-color-enhancement": {
  1078. "input": {
  1079. "type": "object",
  1080. "properties": {
  1081. "image": {
  1082. "type": "string",
  1083. "description": "Base64 encoded image file or url string."
  1084. }
  1085. }
  1086. },
  1087. "parameters": {},
  1088. "output": {
  1089. "type": "object",
  1090. "properties": {
  1091. "output_img": {
  1092. "type": "string",
  1093. "description": "The base64 encoded image."
  1094. }
  1095. }
  1096. }
  1097. },
  1098. "image-colorization": {
  1099. "input": {
  1100. "type": "object",
  1101. "properties": {
  1102. "image": {
  1103. "type": "string",
  1104. "description": "Base64 encoded image file or url string."
  1105. }
  1106. }
  1107. },
  1108. "parameters": {},
  1109. "output": {
  1110. "type": "object",
  1111. "properties": {
  1112. "output_img": {
  1113. "type": "string",
  1114. "description": "The base64 encoded image."
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "image-debanding": {
  1120. "input": {},
  1121. "parameters": {},
  1122. "output": {
  1123. "type": "object"
  1124. }
  1125. },
  1126. "image-deblurring": {
  1127. "input": {},
  1128. "parameters": {},
  1129. "output": {
  1130. "type": "object"
  1131. }
  1132. },
  1133. "image-demoireing": {
  1134. "input": {},
  1135. "parameters": {},
  1136. "output": {
  1137. "type": "object"
  1138. }
  1139. },
  1140. "image-denoising": {
  1141. "input": {
  1142. "type": "object",
  1143. "properties": {
  1144. "image": {
  1145. "type": "string",
  1146. "description": "Base64 encoded image file or url string."
  1147. }
  1148. }
  1149. },
  1150. "parameters": {},
  1151. "output": {
  1152. "type": "object",
  1153. "properties": {
  1154. "output_img": {
  1155. "type": "string",
  1156. "description": "The base64 encoded image."
  1157. }
  1158. }
  1159. }
  1160. },
  1161. "image-depth-estimation": {
  1162. "input": {},
  1163. "parameters": {},
  1164. "output": {
  1165. "type": "object"
  1166. }
  1167. },
  1168. "dense-optical-flow-estimation": {
  1169. "input": {},
  1170. "parameters": {},
  1171. "output": {
  1172. "type": "object"
  1173. }
  1174. },
  1175. "image-normal-estimation": {
  1176. "input": {},
  1177. "parameters": {},
  1178. "output": {
  1179. "type": "object"
  1180. }
  1181. },
  1182. "human-normal-estimation": {
  1183. "input": {},
  1184. "parameters": {},
  1185. "output": {
  1186. "type": "object"
  1187. }
  1188. },
  1189. "image-driving-perception": {
  1190. "input": {
  1191. "type": "object",
  1192. "properties": {
  1193. "image": {
  1194. "type": "string",
  1195. "description": "Base64 encoded image file or url string."
  1196. }
  1197. }
  1198. },
  1199. "parameters": {},
  1200. "output": {
  1201. "type": "object",
  1202. "properties": {
  1203. "boxes": {
  1204. "type": "array",
  1205. "items": {
  1206. "type": "number"
  1207. }
  1208. },
  1209. "masks": {
  1210. "type": "array",
  1211. "items": {
  1212. "type": "number"
  1213. }
  1214. }
  1215. }
  1216. }
  1217. },
  1218. "image-face-fusion": {
  1219. "input": {
  1220. "type": "object",
  1221. "properties": {
  1222. "template": {
  1223. "type": "string",
  1224. "description": "Base64 encoded image file or url string."
  1225. },
  1226. "user": {
  1227. "type": "string",
  1228. "description": "Base64 encoded image file or url string."
  1229. }
  1230. }
  1231. },
  1232. "parameters": {
  1233. "type": "object",
  1234. "properties": {
  1235. "user": {
  1236. "type": "object",
  1237. "default": null
  1238. }
  1239. }
  1240. },
  1241. "output": {
  1242. "type": "object",
  1243. "properties": {
  1244. "output_img": {
  1245. "type": "string",
  1246. "description": "The base64 encoded image."
  1247. }
  1248. }
  1249. }
  1250. },
  1251. "image-fewshot-detection": {
  1252. "input": {
  1253. "type": "object",
  1254. "properties": {
  1255. "image": {
  1256. "type": "string",
  1257. "description": "Base64 encoded image file or url string."
  1258. }
  1259. }
  1260. },
  1261. "parameters": {},
  1262. "output": {
  1263. "type": "object"
  1264. }
  1265. },
  1266. "image-inpainting": {
  1267. "input": {
  1268. "type": "object",
  1269. "properties": {
  1270. "img": {
  1271. "type": "string",
  1272. "description": "Base64 encoded image file or url string."
  1273. },
  1274. "mask": {
  1275. "type": "string",
  1276. "description": "Base64 encoded image file or url string."
  1277. }
  1278. }
  1279. },
  1280. "parameters": {},
  1281. "output": {
  1282. "type": "object",
  1283. "properties": {
  1284. "output_img": {
  1285. "type": "string",
  1286. "description": "The base64 encoded image."
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "image-matching": {
  1292. "input": {},
  1293. "parameters": {},
  1294. "output": {
  1295. "type": "object"
  1296. }
  1297. },
  1298. "image-local-feature-matching": {
  1299. "input": {},
  1300. "parameters": {},
  1301. "output": {
  1302. "type": "object"
  1303. }
  1304. },
  1305. "image-multi-view-depth-estimation": {
  1306. "input": {},
  1307. "parameters": {},
  1308. "output": {
  1309. "type": "object"
  1310. }
  1311. },
  1312. "image-object-detection": {
  1313. "input": {
  1314. "type": "object",
  1315. "properties": {
  1316. "image": {
  1317. "type": "string",
  1318. "description": "Base64 encoded image file or url string."
  1319. }
  1320. }
  1321. },
  1322. "parameters": {},
  1323. "output": {
  1324. "type": "object",
  1325. "properties": {
  1326. "scores": {
  1327. "type": "array",
  1328. "items": {
  1329. "type": "number"
  1330. }
  1331. },
  1332. "labels": {
  1333. "type": "array",
  1334. "items": {
  1335. "type": "string"
  1336. }
  1337. },
  1338. "boxes": {
  1339. "type": "array",
  1340. "items": {
  1341. "type": "number"
  1342. }
  1343. }
  1344. }
  1345. }
  1346. },
  1347. "image-paintbyexample": {
  1348. "input": {
  1349. "type": "object",
  1350. "properties": {
  1351. "img": {
  1352. "type": "string",
  1353. "description": "Base64 encoded image file or url string."
  1354. },
  1355. "mask": {
  1356. "type": "string",
  1357. "description": "Base64 encoded image file or url string."
  1358. },
  1359. "reference": {
  1360. "type": "string",
  1361. "description": "Base64 encoded image file or url string."
  1362. }
  1363. }
  1364. },
  1365. "parameters": {},
  1366. "output": {
  1367. "type": "object",
  1368. "properties": {
  1369. "output_img": {
  1370. "type": "string",
  1371. "description": "The base64 encoded image."
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "image-portrait-enhancement": {
  1377. "input": {
  1378. "type": "object",
  1379. "properties": {
  1380. "image": {
  1381. "type": "string",
  1382. "description": "Base64 encoded image file or url string."
  1383. }
  1384. }
  1385. },
  1386. "parameters": {},
  1387. "output": {
  1388. "type": "object",
  1389. "properties": {
  1390. "output_img": {
  1391. "type": "string",
  1392. "description": "The base64 encoded image."
  1393. }
  1394. }
  1395. }
  1396. },
  1397. "image-portrait-stylization": {
  1398. "input": {
  1399. "type": "object",
  1400. "properties": {
  1401. "image": {
  1402. "type": "string",
  1403. "description": "Base64 encoded image file or url string."
  1404. }
  1405. }
  1406. },
  1407. "parameters": {},
  1408. "output": {
  1409. "type": "object",
  1410. "properties": {
  1411. "output_img": {
  1412. "type": "string",
  1413. "description": "The base64 encoded image."
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "image-quality-assessment-degradation": {
  1419. "input": {},
  1420. "parameters": {},
  1421. "output": {
  1422. "type": "object",
  1423. "properties": {
  1424. "scores": {
  1425. "type": "array",
  1426. "items": {
  1427. "type": "number"
  1428. }
  1429. },
  1430. "labels": {
  1431. "type": "array",
  1432. "items": {
  1433. "type": "string"
  1434. }
  1435. }
  1436. }
  1437. }
  1438. },
  1439. "image-quality-assessment-mos": {
  1440. "input": {},
  1441. "parameters": {},
  1442. "output": {
  1443. "type": "object",
  1444. "properties": {
  1445. "score": {
  1446. "type": "number"
  1447. }
  1448. }
  1449. }
  1450. },
  1451. "image-reid-person": {
  1452. "input": {
  1453. "type": "object",
  1454. "properties": {
  1455. "image": {
  1456. "type": "string",
  1457. "description": "Base64 encoded image file or url string."
  1458. }
  1459. }
  1460. },
  1461. "parameters": {},
  1462. "output": {
  1463. "type": "object",
  1464. "properties": {
  1465. "img_embedding": {
  1466. "type": "array",
  1467. "items": {
  1468. "type": "number"
  1469. }
  1470. }
  1471. }
  1472. }
  1473. },
  1474. "image-segmentation": {
  1475. "input": {
  1476. "type": "object",
  1477. "properties": {
  1478. "image": {
  1479. "type": "string",
  1480. "description": "Base64 encoded image file or url string."
  1481. }
  1482. }
  1483. },
  1484. "parameters": {
  1485. "type": "object",
  1486. "properties": {
  1487. "min_size": {
  1488. "type": "integer",
  1489. "default": 640
  1490. },
  1491. "max_size": {
  1492. "type": "integer",
  1493. "default": 1333
  1494. },
  1495. "score_thr": {
  1496. "type": "number",
  1497. "default": 0
  1498. }
  1499. }
  1500. },
  1501. "output": {
  1502. "type": "object",
  1503. "properties": {
  1504. "scores": {
  1505. "type": "array",
  1506. "items": {
  1507. "type": "number"
  1508. }
  1509. },
  1510. "labels": {
  1511. "type": "array",
  1512. "items": {
  1513. "type": "string"
  1514. }
  1515. },
  1516. "masks": {
  1517. "type": "array",
  1518. "items": {
  1519. "type": "number"
  1520. }
  1521. }
  1522. }
  1523. }
  1524. },
  1525. "image-skychange": {
  1526. "input": {
  1527. "type": "object",
  1528. "properties": {
  1529. "sky_image": {
  1530. "type": "string",
  1531. "description": "Base64 encoded image file or url string."
  1532. },
  1533. "scene_image": {
  1534. "type": "string",
  1535. "description": "Base64 encoded image file or url string."
  1536. }
  1537. }
  1538. },
  1539. "parameters": {},
  1540. "output": {
  1541. "type": "object",
  1542. "properties": {
  1543. "output_img": {
  1544. "type": "string",
  1545. "description": "The base64 encoded image."
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "image-style-transfer": {
  1551. "input": {
  1552. "type": "object",
  1553. "properties": {
  1554. "content": {
  1555. "type": "string",
  1556. "description": "Base64 encoded image file or url string."
  1557. },
  1558. "style": {
  1559. "type": "string",
  1560. "description": "Base64 encoded image file or url string."
  1561. }
  1562. }
  1563. },
  1564. "parameters": {
  1565. "type": "object",
  1566. "properties": {
  1567. "style": {
  1568. "type": "object",
  1569. "default": null
  1570. }
  1571. }
  1572. },
  1573. "output": {
  1574. "type": "object",
  1575. "properties": {
  1576. "output_img": {
  1577. "type": "string",
  1578. "description": "The base64 encoded image."
  1579. }
  1580. }
  1581. }
  1582. },
  1583. "image-super-resolution": {
  1584. "input": {
  1585. "type": "object",
  1586. "properties": {
  1587. "image": {
  1588. "type": "string",
  1589. "description": "Base64 encoded image file or url string."
  1590. }
  1591. }
  1592. },
  1593. "parameters": {},
  1594. "output": {
  1595. "type": "object",
  1596. "properties": {
  1597. "output_img": {
  1598. "type": "string",
  1599. "description": "The base64 encoded image."
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "image-text-retrieval": {
  1605. "input": {},
  1606. "parameters": {},
  1607. "output": {
  1608. "type": "object"
  1609. }
  1610. },
  1611. "image-to-image-generation": {
  1612. "input": {
  1613. "type": "object",
  1614. "properties": {
  1615. "image": {
  1616. "type": "string",
  1617. "description": "Base64 encoded image file or url string."
  1618. }
  1619. }
  1620. },
  1621. "parameters": {},
  1622. "output": {
  1623. "type": "object",
  1624. "properties": {
  1625. "output_img": {
  1626. "type": "string",
  1627. "description": "The base64 encoded image."
  1628. }
  1629. }
  1630. }
  1631. },
  1632. "image-to-image-translation": {
  1633. "input": {
  1634. "type": "object",
  1635. "properties": {
  1636. "image": {
  1637. "type": "string",
  1638. "description": "Base64 encoded image file or url string."
  1639. }
  1640. }
  1641. },
  1642. "parameters": {},
  1643. "output": {
  1644. "type": "object",
  1645. "properties": {
  1646. "output_img": {
  1647. "type": "string",
  1648. "description": "The base64 encoded image."
  1649. }
  1650. }
  1651. }
  1652. },
  1653. "image-try-on": {
  1654. "input": {
  1655. "type": "object",
  1656. "properties": {
  1657. "image": {
  1658. "type": "string",
  1659. "description": "Base64 encoded image file or url string."
  1660. }
  1661. }
  1662. },
  1663. "parameters": {},
  1664. "output": {
  1665. "type": "object",
  1666. "properties": {
  1667. "output_img": {
  1668. "type": "string",
  1669. "description": "The base64 encoded image."
  1670. }
  1671. }
  1672. }
  1673. },
  1674. "indoor-layout-estimation": {
  1675. "input": {},
  1676. "parameters": {},
  1677. "output": {
  1678. "type": "object"
  1679. }
  1680. },
  1681. "information-extraction": {
  1682. "input": {},
  1683. "parameters": {},
  1684. "output": {
  1685. "type": "object"
  1686. }
  1687. },
  1688. "inverse-text-processing": {
  1689. "input": {
  1690. "type": "object",
  1691. "properties": {
  1692. "text": {
  1693. "type": "string",
  1694. "description": "The input text."
  1695. }
  1696. }
  1697. },
  1698. "parameters": {},
  1699. "output": {
  1700. "type": "object",
  1701. "properties": {
  1702. "text": {
  1703. "type": "string"
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "keyword-spotting": {
  1709. "input": {
  1710. "type": "object",
  1711. "properties": {
  1712. "audio": {
  1713. "type": "string",
  1714. "description": "Base64 encoded audio file or url string.."
  1715. }
  1716. }
  1717. },
  1718. "parameters": {},
  1719. "output": {
  1720. "type": "object",
  1721. "properties": {
  1722. "kws_list": {
  1723. "type": "array",
  1724. "items": {
  1725. "type": "string"
  1726. }
  1727. }
  1728. }
  1729. }
  1730. },
  1731. "language-guided-video-summarization": {
  1732. "input": {},
  1733. "parameters": {},
  1734. "output": {
  1735. "type": "object"
  1736. }
  1737. },
  1738. "language-score-prediction": {
  1739. "input": {},
  1740. "parameters": {},
  1741. "output": {
  1742. "type": "object",
  1743. "properties": {
  1744. "text": {
  1745. "type": "string"
  1746. }
  1747. }
  1748. }
  1749. },
  1750. "license-plate-detection": {
  1751. "input": {},
  1752. "parameters": {},
  1753. "output": {
  1754. "type": "object",
  1755. "properties": {
  1756. "polygons": {
  1757. "type": "array",
  1758. "items": {
  1759. "type": "number"
  1760. }
  1761. },
  1762. "text": {
  1763. "type": "string"
  1764. }
  1765. }
  1766. }
  1767. },
  1768. "lineless-table-recognition": {
  1769. "input": {},
  1770. "parameters": {},
  1771. "output": {
  1772. "type": "object",
  1773. "properties": {
  1774. "polygons": {
  1775. "type": "array",
  1776. "items": {
  1777. "type": "number"
  1778. }
  1779. },
  1780. "boxes": {
  1781. "type": "array",
  1782. "items": {
  1783. "type": "number"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "live-category": {
  1790. "input": {
  1791. "type": "object",
  1792. "properties": {
  1793. "video": {
  1794. "type": "string",
  1795. "description": "Base64 encoded video file or url string.."
  1796. }
  1797. }
  1798. },
  1799. "parameters": {},
  1800. "output": {
  1801. "type": "object",
  1802. "properties": {
  1803. "scores": {
  1804. "type": "array",
  1805. "items": {
  1806. "type": "number"
  1807. }
  1808. },
  1809. "labels": {
  1810. "type": "array",
  1811. "items": {
  1812. "type": "string"
  1813. }
  1814. }
  1815. }
  1816. }
  1817. },
  1818. "motion-generation": {
  1819. "input": {},
  1820. "parameters": {},
  1821. "output": {
  1822. "type": "object",
  1823. "properties": {
  1824. "keypoints": {
  1825. "type": "array",
  1826. "items": {
  1827. "type": "number"
  1828. }
  1829. },
  1830. "output_video": {
  1831. "type": "string",
  1832. "description": "The base64 encoded video."
  1833. }
  1834. }
  1835. }
  1836. },
  1837. "movie-scene-segmentation": {
  1838. "input": {
  1839. "type": "object",
  1840. "properties": {
  1841. "video": {
  1842. "type": "string",
  1843. "description": "Base64 encoded video file or url string.."
  1844. }
  1845. }
  1846. },
  1847. "parameters": {},
  1848. "output": {
  1849. "type": "object",
  1850. "properties": {
  1851. "shot_num": {
  1852. "type": "integer"
  1853. },
  1854. "shot_meta_list": {
  1855. "type": "array",
  1856. "items": {
  1857. "type": "integer"
  1858. }
  1859. },
  1860. "scene_num": {
  1861. "type": "integer"
  1862. },
  1863. "scene_meta_list": {
  1864. "type": "array",
  1865. "items": {
  1866. "type": "integer"
  1867. }
  1868. }
  1869. }
  1870. }
  1871. },
  1872. "multi-modal-embedding": {
  1873. "input": {
  1874. "type": "object",
  1875. "properties": {
  1876. "img": {
  1877. "type": "string",
  1878. "description": "Base64 encoded image file or url string."
  1879. },
  1880. "text": {
  1881. "type": "string",
  1882. "description": "The input text."
  1883. }
  1884. }
  1885. },
  1886. "parameters": {},
  1887. "output": {
  1888. "type": "object",
  1889. "properties": {
  1890. "img_embedding": {
  1891. "type": "array",
  1892. "items": {
  1893. "type": "number"
  1894. }
  1895. },
  1896. "text_embedding": {
  1897. "type": "array",
  1898. "items": {
  1899. "type": "number"
  1900. }
  1901. }
  1902. }
  1903. }
  1904. },
  1905. "multi-modal-similarity": {
  1906. "input": {
  1907. "type": "object",
  1908. "properties": {
  1909. "img": {
  1910. "type": "string",
  1911. "description": "Base64 encoded image file or url string."
  1912. },
  1913. "text": {
  1914. "type": "string",
  1915. "description": "The input text."
  1916. }
  1917. }
  1918. },
  1919. "parameters": {},
  1920. "output": {
  1921. "type": "object",
  1922. "properties": {
  1923. "img_embedding": {
  1924. "type": "array",
  1925. "items": {
  1926. "type": "number"
  1927. }
  1928. },
  1929. "text_embedding": {
  1930. "type": "array",
  1931. "items": {
  1932. "type": "number"
  1933. }
  1934. },
  1935. "scores": {
  1936. "type": "array",
  1937. "items": {
  1938. "type": "number"
  1939. }
  1940. }
  1941. }
  1942. }
  1943. },
  1944. "multimodal-dialogue": {
  1945. "input": {
  1946. "type": "object",
  1947. "properties": {
  1948. "messages": {
  1949. "type": "array"
  1950. }
  1951. }
  1952. },
  1953. "parameters": {},
  1954. "output": {
  1955. "type": "object",
  1956. "properties": {
  1957. "text": {
  1958. "type": "string"
  1959. }
  1960. }
  1961. }
  1962. },
  1963. "named-entity-recognition": {
  1964. "input": {
  1965. "type": "object",
  1966. "properties": {
  1967. "text": {
  1968. "type": "string",
  1969. "description": "The input text."
  1970. }
  1971. }
  1972. },
  1973. "parameters": {},
  1974. "output": {
  1975. "type": "object",
  1976. "properties": {
  1977. "output": {
  1978. "type": "object"
  1979. }
  1980. }
  1981. }
  1982. },
  1983. "nerf-recon-4k": {
  1984. "input": {},
  1985. "parameters": {},
  1986. "output": {
  1987. "type": "object"
  1988. }
  1989. },
  1990. "nerf-recon-acc": {
  1991. "input": {},
  1992. "parameters": {},
  1993. "output": {
  1994. "type": "object",
  1995. "properties": {
  1996. "output": {
  1997. "type": "object"
  1998. }
  1999. }
  2000. }
  2001. },
  2002. "nerf-recon-vq-compression": {
  2003. "input": {},
  2004. "parameters": {},
  2005. "output": {
  2006. "type": "object",
  2007. "properties": {
  2008. "output": {
  2009. "type": "object"
  2010. }
  2011. }
  2012. }
  2013. },
  2014. "nli": {
  2015. "input": {
  2016. "type": "array",
  2017. "items": {
  2018. "type": "string",
  2019. "description": "The input text."
  2020. }
  2021. },
  2022. "parameters": {
  2023. "type": "object",
  2024. "properties": {
  2025. "topk": {
  2026. "type": "integer",
  2027. "default": null
  2028. }
  2029. }
  2030. },
  2031. "output": {
  2032. "type": "object",
  2033. "properties": {
  2034. "scores": {
  2035. "type": "array",
  2036. "items": {
  2037. "type": "number"
  2038. }
  2039. },
  2040. "labels": {
  2041. "type": "array",
  2042. "items": {
  2043. "type": "string"
  2044. }
  2045. }
  2046. }
  2047. }
  2048. },
  2049. "object-detection-3d": {
  2050. "input": {},
  2051. "parameters": {},
  2052. "output": {
  2053. "type": "object",
  2054. "properties": {
  2055. "output_img": {
  2056. "type": "string",
  2057. "description": "The base64 encoded image."
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "ocr-detection": {
  2063. "input": {
  2064. "type": "object",
  2065. "properties": {
  2066. "image": {
  2067. "type": "string",
  2068. "description": "Base64 encoded image file or url string."
  2069. }
  2070. }
  2071. },
  2072. "parameters": {},
  2073. "output": {
  2074. "type": "object",
  2075. "properties": {
  2076. "polygons": {
  2077. "type": "array",
  2078. "items": {
  2079. "type": "number"
  2080. }
  2081. }
  2082. }
  2083. }
  2084. },
  2085. "ocr-recognition": {
  2086. "input": {
  2087. "type": "object",
  2088. "properties": {
  2089. "image": {
  2090. "type": "string",
  2091. "description": "Base64 encoded image file or url string."
  2092. }
  2093. }
  2094. },
  2095. "parameters": {},
  2096. "output": {
  2097. "type": "object",
  2098. "properties": {
  2099. "text": {
  2100. "type": "string"
  2101. }
  2102. }
  2103. }
  2104. },
  2105. "open-vocabulary-detection": {
  2106. "input": {
  2107. "type": "object",
  2108. "properties": {
  2109. "img": {
  2110. "type": "string",
  2111. "description": "Base64 encoded image file or url string."
  2112. },
  2113. "category_names": {
  2114. "type": "string",
  2115. "description": "The input text."
  2116. }
  2117. }
  2118. },
  2119. "parameters": {},
  2120. "output": {
  2121. "type": "object",
  2122. "properties": {
  2123. "scores": {
  2124. "type": "array",
  2125. "items": {
  2126. "type": "number"
  2127. }
  2128. },
  2129. "labels": {
  2130. "type": "array",
  2131. "items": {
  2132. "type": "string"
  2133. }
  2134. },
  2135. "boxes": {
  2136. "type": "array",
  2137. "items": {
  2138. "type": "number"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "panorama-depth-estimation": {
  2145. "input": {},
  2146. "parameters": {},
  2147. "output": {
  2148. "type": "object"
  2149. }
  2150. },
  2151. "part-of-speech": {
  2152. "input": {
  2153. "type": "object",
  2154. "properties": {
  2155. "text": {
  2156. "type": "string",
  2157. "description": "The input text."
  2158. }
  2159. }
  2160. },
  2161. "parameters": {},
  2162. "output": {
  2163. "type": "object",
  2164. "properties": {
  2165. "output": {
  2166. "type": "object"
  2167. }
  2168. }
  2169. }
  2170. },
  2171. "pedestrian-attribute-recognition": {
  2172. "input": {
  2173. "type": "object",
  2174. "properties": {
  2175. "image": {
  2176. "type": "string",
  2177. "description": "Base64 encoded image file or url string."
  2178. }
  2179. }
  2180. },
  2181. "parameters": {},
  2182. "output": {
  2183. "type": "object",
  2184. "properties": {
  2185. "boxes": {
  2186. "type": "array",
  2187. "items": {
  2188. "type": "number"
  2189. }
  2190. },
  2191. "labels": {
  2192. "type": "array",
  2193. "items": {
  2194. "type": "string"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "pointcloud-sceneflow-estimation": {
  2201. "input": {},
  2202. "parameters": {},
  2203. "output": {
  2204. "type": "object"
  2205. }
  2206. },
  2207. "portrait-matting": {
  2208. "input": {
  2209. "type": "object",
  2210. "properties": {
  2211. "image": {
  2212. "type": "string",
  2213. "description": "Base64 encoded image file or url string."
  2214. }
  2215. }
  2216. },
  2217. "parameters": {},
  2218. "output": {
  2219. "type": "object",
  2220. "properties": {
  2221. "output_img": {
  2222. "type": "string",
  2223. "description": "The base64 encoded image."
  2224. }
  2225. }
  2226. }
  2227. },
  2228. "product-retrieval-embedding": {
  2229. "input": {
  2230. "type": "object",
  2231. "properties": {
  2232. "image": {
  2233. "type": "string",
  2234. "description": "Base64 encoded image file or url string."
  2235. }
  2236. }
  2237. },
  2238. "parameters": {},
  2239. "output": {
  2240. "type": "object",
  2241. "properties": {
  2242. "img_embedding": {
  2243. "type": "array",
  2244. "items": {
  2245. "type": "number"
  2246. }
  2247. }
  2248. }
  2249. }
  2250. },
  2251. "product-segmentation": {
  2252. "input": {},
  2253. "parameters": {},
  2254. "output": {
  2255. "type": "object",
  2256. "properties": {
  2257. "masks": {
  2258. "type": "array",
  2259. "items": {
  2260. "type": "number"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "protein-structure": {
  2267. "input": {},
  2268. "parameters": {},
  2269. "output": {
  2270. "type": "object"
  2271. }
  2272. },
  2273. "punctuation": {
  2274. "input": {},
  2275. "parameters": {},
  2276. "output": {
  2277. "type": "object",
  2278. "properties": {
  2279. "text": {
  2280. "type": "string"
  2281. }
  2282. }
  2283. }
  2284. },
  2285. "referring-video-object-segmentation": {
  2286. "input": {},
  2287. "parameters": {},
  2288. "output": {
  2289. "type": "object",
  2290. "properties": {
  2291. "masks": {
  2292. "type": "array",
  2293. "items": {
  2294. "type": "number"
  2295. }
  2296. },
  2297. "timestamps": {
  2298. "type": "string"
  2299. },
  2300. "output_video": {
  2301. "type": "string",
  2302. "description": "The base64 encoded video."
  2303. }
  2304. }
  2305. }
  2306. },
  2307. "relation-extraction": {
  2308. "input": {
  2309. "type": "object",
  2310. "properties": {
  2311. "text": {
  2312. "type": "string",
  2313. "description": "The input text."
  2314. }
  2315. }
  2316. },
  2317. "parameters": {},
  2318. "output": {
  2319. "type": "object",
  2320. "properties": {
  2321. "spo_list": {
  2322. "type": "array",
  2323. "items": {
  2324. "type": "number"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "semantic-segmentation": {
  2331. "input": {},
  2332. "parameters": {},
  2333. "output": {
  2334. "type": "object",
  2335. "properties": {
  2336. "masks": {
  2337. "type": "array",
  2338. "items": {
  2339. "type": "number"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "sentence-embedding": {
  2346. "input": {
  2347. "type": "object",
  2348. "properties": {
  2349. "source_sentence": {
  2350. "type": "array"
  2351. },
  2352. "sentences_to_compare": {
  2353. "type": "array"
  2354. }
  2355. }
  2356. },
  2357. "parameters": {},
  2358. "output": {
  2359. "type": "object",
  2360. "properties": {
  2361. "text_embedding": {
  2362. "type": "array",
  2363. "items": {
  2364. "type": "number"
  2365. }
  2366. },
  2367. "scores": {
  2368. "type": "array",
  2369. "items": {
  2370. "type": "number"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "sentence-similarity": {
  2377. "input": {
  2378. "type": "array",
  2379. "items": {
  2380. "type": "string",
  2381. "description": "The input text."
  2382. }
  2383. },
  2384. "parameters": {
  2385. "type": "object",
  2386. "properties": {
  2387. "topk": {
  2388. "type": "integer",
  2389. "default": null
  2390. }
  2391. }
  2392. },
  2393. "output": {
  2394. "type": "object",
  2395. "properties": {
  2396. "scores": {
  2397. "type": "array",
  2398. "items": {
  2399. "type": "number"
  2400. }
  2401. },
  2402. "labels": {
  2403. "type": "array",
  2404. "items": {
  2405. "type": "string"
  2406. }
  2407. }
  2408. }
  2409. }
  2410. },
  2411. "sentiment-classification": {
  2412. "input": {
  2413. "type": "object",
  2414. "properties": {
  2415. "text": {
  2416. "type": "string",
  2417. "description": "The input text."
  2418. }
  2419. }
  2420. },
  2421. "parameters": {
  2422. "type": "object",
  2423. "properties": {
  2424. "topk": {
  2425. "type": "integer",
  2426. "default": null
  2427. }
  2428. }
  2429. },
  2430. "output": {
  2431. "type": "object",
  2432. "properties": {
  2433. "scores": {
  2434. "type": "array",
  2435. "items": {
  2436. "type": "number"
  2437. }
  2438. },
  2439. "labels": {
  2440. "type": "array",
  2441. "items": {
  2442. "type": "string"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "shop-segmentation": {
  2449. "input": {
  2450. "type": "object",
  2451. "properties": {
  2452. "image": {
  2453. "type": "string",
  2454. "description": "Base64 encoded image file or url string."
  2455. }
  2456. }
  2457. },
  2458. "parameters": {},
  2459. "output": {
  2460. "type": "object",
  2461. "properties": {
  2462. "masks": {
  2463. "type": "array",
  2464. "items": {
  2465. "type": "number"
  2466. }
  2467. }
  2468. }
  2469. }
  2470. },
  2471. "siamese-uie": {
  2472. "input": {},
  2473. "parameters": {},
  2474. "output": {
  2475. "type": "object"
  2476. }
  2477. },
  2478. "skin-retouching": {
  2479. "input": {
  2480. "type": "object",
  2481. "properties": {
  2482. "image": {
  2483. "type": "string",
  2484. "description": "Base64 encoded image file or url string."
  2485. }
  2486. }
  2487. },
  2488. "parameters": {},
  2489. "output": {
  2490. "type": "object",
  2491. "properties": {
  2492. "output_img": {
  2493. "type": "string",
  2494. "description": "The base64 encoded image."
  2495. }
  2496. }
  2497. }
  2498. },
  2499. "speaker-diarization": {
  2500. "input": {},
  2501. "parameters": {},
  2502. "output": {
  2503. "type": "object"
  2504. }
  2505. },
  2506. "speaker-diarization-dialogue-detection": {
  2507. "input": {
  2508. "type": "object",
  2509. "properties": {
  2510. "text": {
  2511. "type": "string",
  2512. "description": "The input text."
  2513. }
  2514. }
  2515. },
  2516. "parameters": {
  2517. "type": "object",
  2518. "properties": {
  2519. "topk": {
  2520. "type": "integer",
  2521. "default": null
  2522. }
  2523. }
  2524. },
  2525. "output": {
  2526. "type": "object",
  2527. "properties": {
  2528. "scores": {
  2529. "type": "array",
  2530. "items": {
  2531. "type": "number"
  2532. }
  2533. },
  2534. "labels": {
  2535. "type": "array",
  2536. "items": {
  2537. "type": "string"
  2538. }
  2539. }
  2540. }
  2541. }
  2542. },
  2543. "speaker-diarization-semantic-speaker-turn-detection": {
  2544. "input": {
  2545. "type": "object",
  2546. "properties": {
  2547. "text": {
  2548. "type": "string",
  2549. "description": "The input text."
  2550. }
  2551. }
  2552. },
  2553. "parameters": {},
  2554. "output": {
  2555. "type": "object",
  2556. "properties": {
  2557. "logits": {
  2558. "type": "array",
  2559. "items": {
  2560. "type": "number"
  2561. }
  2562. },
  2563. "text": {
  2564. "type": "string"
  2565. },
  2566. "prediction": {
  2567. "type": "array",
  2568. "items": {
  2569. "type": "number"
  2570. }
  2571. }
  2572. }
  2573. }
  2574. },
  2575. "speaker-verification": {
  2576. "input": {},
  2577. "parameters": {},
  2578. "output": {
  2579. "type": "object",
  2580. "properties": {
  2581. "scores": {
  2582. "type": "array",
  2583. "items": {
  2584. "type": "number"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "speech-language-recognition": {
  2591. "input": {
  2592. "type": "object",
  2593. "properties": {
  2594. "audio": {
  2595. "type": "string",
  2596. "description": "Base64 encoded audio file or url string.."
  2597. }
  2598. }
  2599. },
  2600. "parameters": {},
  2601. "output": {
  2602. "type": "object",
  2603. "properties": {
  2604. "text": {
  2605. "type": "string"
  2606. }
  2607. }
  2608. }
  2609. },
  2610. "speech-separation": {
  2611. "input": {
  2612. "type": "object",
  2613. "properties": {
  2614. "audio": {
  2615. "type": "string",
  2616. "description": "Base64 encoded audio file or url string.."
  2617. }
  2618. }
  2619. },
  2620. "parameters": {},
  2621. "output": {
  2622. "type": "object",
  2623. "properties": {
  2624. "output_pcm_list": {
  2625. "type": "array",
  2626. "items": {
  2627. "type": "string",
  2628. "description": "The base64 encoded PCM."
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "speech-timestamp": {
  2635. "input": {},
  2636. "parameters": {},
  2637. "output": {
  2638. "type": "object",
  2639. "properties": {
  2640. "text": {
  2641. "type": "string"
  2642. }
  2643. }
  2644. }
  2645. },
  2646. "sudoku": {
  2647. "input": {
  2648. "type": "object",
  2649. "properties": {
  2650. "text": {
  2651. "type": "string",
  2652. "description": "The input text."
  2653. }
  2654. }
  2655. },
  2656. "parameters": {},
  2657. "output": {
  2658. "type": "object",
  2659. "properties": {
  2660. "text": {
  2661. "type": "string"
  2662. }
  2663. }
  2664. }
  2665. },
  2666. "table-question-answering": {
  2667. "input": {
  2668. "type": "object",
  2669. "properties": {
  2670. "question": {
  2671. "type": "string",
  2672. "description": "The input text."
  2673. },
  2674. "history_sql": {
  2675. "type": "object"
  2676. }
  2677. }
  2678. },
  2679. "parameters": {},
  2680. "output": {
  2681. "type": "object",
  2682. "properties": {
  2683. "output": {
  2684. "type": "object"
  2685. }
  2686. }
  2687. }
  2688. },
  2689. "table-recognition": {
  2690. "input": {},
  2691. "parameters": {},
  2692. "output": {
  2693. "type": "object",
  2694. "properties": {
  2695. "polygons": {
  2696. "type": "array",
  2697. "items": {
  2698. "type": "number"
  2699. }
  2700. }
  2701. }
  2702. }
  2703. },
  2704. "task-oriented-conversation": {
  2705. "input": {
  2706. "type": "object",
  2707. "properties": {
  2708. "user_input": {
  2709. "type": "string",
  2710. "description": "The input text."
  2711. },
  2712. "history": {
  2713. "type": "object"
  2714. }
  2715. }
  2716. },
  2717. "parameters": {},
  2718. "output": {
  2719. "type": "object",
  2720. "properties": {
  2721. "output": {
  2722. "type": "object"
  2723. }
  2724. }
  2725. }
  2726. },
  2727. "task-template": {
  2728. "input": {
  2729. "type": "object",
  2730. "properties": {
  2731. "image": {
  2732. "type": "string",
  2733. "description": "Base64 encoded image file or url string."
  2734. },
  2735. "text": {
  2736. "type": "string",
  2737. "description": "The input text."
  2738. }
  2739. }
  2740. },
  2741. "parameters": {
  2742. "type": "object",
  2743. "properties": {
  2744. "max_length": {
  2745. "type": "integer",
  2746. "default": 1024
  2747. },
  2748. "top_p": {
  2749. "type": "number",
  2750. "default": 0.8
  2751. },
  2752. "postprocess_param1": {
  2753. "type": "string",
  2754. "default": null
  2755. }
  2756. }
  2757. },
  2758. "output": {
  2759. "type": "object",
  2760. "properties": {
  2761. "boxes": {
  2762. "type": "array",
  2763. "items": {
  2764. "type": "number"
  2765. }
  2766. },
  2767. "output_img": {
  2768. "type": "string",
  2769. "description": "The base64 encoded image."
  2770. },
  2771. "text_embedding": {
  2772. "type": "array",
  2773. "items": {
  2774. "type": "number"
  2775. }
  2776. }
  2777. }
  2778. }
  2779. },
  2780. "text-classification": {
  2781. "input": {
  2782. "type": "object",
  2783. "properties": {
  2784. "text": {
  2785. "type": "string",
  2786. "description": "The input text."
  2787. },
  2788. "text2": {
  2789. "type": "string",
  2790. "description": "The input text."
  2791. }
  2792. }
  2793. },
  2794. "parameters": {
  2795. "type": "object",
  2796. "properties": {
  2797. "topk": {
  2798. "type": "integer",
  2799. "default": null
  2800. }
  2801. }
  2802. },
  2803. "output": {
  2804. "type": "object",
  2805. "properties": {
  2806. "scores": {
  2807. "type": "array",
  2808. "items": {
  2809. "type": "number"
  2810. }
  2811. },
  2812. "labels": {
  2813. "type": "array",
  2814. "items": {
  2815. "type": "string"
  2816. }
  2817. }
  2818. }
  2819. }
  2820. },
  2821. "text-driven-segmentation": {
  2822. "input": {
  2823. "type": "object",
  2824. "properties": {
  2825. "image": {
  2826. "type": "string",
  2827. "description": "Base64 encoded image file or url string."
  2828. },
  2829. "text": {
  2830. "type": "string",
  2831. "description": "The input text."
  2832. }
  2833. }
  2834. },
  2835. "parameters": {},
  2836. "output": {
  2837. "type": "object",
  2838. "properties": {
  2839. "masks": {
  2840. "type": "array",
  2841. "items": {
  2842. "type": "number"
  2843. }
  2844. }
  2845. }
  2846. }
  2847. },
  2848. "text-error-correction": {
  2849. "input": {
  2850. "type": "object",
  2851. "properties": {
  2852. "text": {
  2853. "type": "string",
  2854. "description": "The input text."
  2855. }
  2856. }
  2857. },
  2858. "parameters": {},
  2859. "output": {
  2860. "type": "object",
  2861. "properties": {
  2862. "output": {
  2863. "type": "object"
  2864. }
  2865. }
  2866. }
  2867. },
  2868. "text-generation": {
  2869. "input": {
  2870. "type": "object",
  2871. "properties": {
  2872. "text": {
  2873. "type": "string",
  2874. "description": "The input text."
  2875. }
  2876. }
  2877. },
  2878. "parameters": {
  2879. "type": "object",
  2880. "properties": {
  2881. "max_length": {
  2882. "type": "integer",
  2883. "default": 50
  2884. },
  2885. "do_sample": {
  2886. "type": "boolean",
  2887. "default": true
  2888. },
  2889. "top_p": {
  2890. "type": "number",
  2891. "default": 0.85
  2892. },
  2893. "temperature": {
  2894. "type": "number",
  2895. "default": 1
  2896. },
  2897. "repetition_penalty": {
  2898. "type": "number",
  2899. "default": 1
  2900. },
  2901. "eos_token_id": {
  2902. "type": "integer",
  2903. "default": 2
  2904. },
  2905. "bos_token_id": {
  2906. "type": "integer",
  2907. "default": 1
  2908. },
  2909. "pad_token_id": {
  2910. "type": "integer",
  2911. "default": 0
  2912. }
  2913. }
  2914. },
  2915. "output": {
  2916. "type": "object",
  2917. "properties": {
  2918. "text": {
  2919. "type": "string"
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "text-ranking": {
  2925. "input": {
  2926. "type": "object",
  2927. "properties": {
  2928. "source_sentence": {
  2929. "type": "array"
  2930. },
  2931. "sentences_to_compare": {
  2932. "type": "array"
  2933. }
  2934. }
  2935. },
  2936. "parameters": {},
  2937. "output": {
  2938. "type": "object",
  2939. "properties": {
  2940. "scores": {
  2941. "type": "array",
  2942. "items": {
  2943. "type": "number"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "text-summarization": {
  2950. "input": {},
  2951. "parameters": {},
  2952. "output": {
  2953. "type": "object",
  2954. "properties": {
  2955. "text": {
  2956. "type": "string"
  2957. }
  2958. }
  2959. }
  2960. },
  2961. "text-to-360panorama-image": {
  2962. "input": {
  2963. "type": "object",
  2964. "properties": {
  2965. "prompt": {
  2966. "type": "string",
  2967. "description": "The input text."
  2968. }
  2969. }
  2970. },
  2971. "parameters": {},
  2972. "output": {
  2973. "type": "object",
  2974. "properties": {
  2975. "output_img": {
  2976. "type": "string",
  2977. "description": "The base64 encoded image."
  2978. }
  2979. }
  2980. }
  2981. },
  2982. "text-to-image-synthesis": {
  2983. "input": {
  2984. "type": "object",
  2985. "properties": {
  2986. "text": {
  2987. "type": "string",
  2988. "description": "The input text."
  2989. }
  2990. }
  2991. },
  2992. "parameters": {
  2993. "type": "object",
  2994. "properties": {
  2995. "init": {
  2996. "type": "object",
  2997. "default": null
  2998. },
  2999. "init_scale": {
  3000. "type": "integer",
  3001. "default": 2000
  3002. },
  3003. "skip_steps": {
  3004. "type": "integer",
  3005. "default": 10
  3006. },
  3007. "randomize_class": {
  3008. "type": "boolean",
  3009. "default": true
  3010. },
  3011. "eta": {
  3012. "type": "number",
  3013. "default": 0.8
  3014. },
  3015. "output_type": {
  3016. "type": "string",
  3017. "default": "pil"
  3018. },
  3019. "return_dict": {
  3020. "type": "boolean",
  3021. "default": true
  3022. },
  3023. "clip_guidance_scale": {
  3024. "type": "integer",
  3025. "default": 7500
  3026. }
  3027. }
  3028. },
  3029. "output": {
  3030. "type": "object",
  3031. "properties": {
  3032. "output_imgs": {
  3033. "type": "array",
  3034. "items": {
  3035. "type": "string",
  3036. "description": "The base64 encoded image."
  3037. }
  3038. }
  3039. }
  3040. }
  3041. },
  3042. "text-to-speech": {
  3043. "input": {
  3044. "type": "object",
  3045. "properties": {
  3046. "text": {
  3047. "type": "string",
  3048. "description": "The input text."
  3049. }
  3050. }
  3051. },
  3052. "parameters": {},
  3053. "output": {
  3054. "type": "object",
  3055. "properties": {
  3056. "output_wav": {
  3057. "type": "string",
  3058. "description": "The base64 encoded WAV."
  3059. }
  3060. }
  3061. }
  3062. },
  3063. "text-to-video-synthesis": {
  3064. "input": {
  3065. "type": "object",
  3066. "properties": {
  3067. "text": {
  3068. "type": "string",
  3069. "description": "The input text."
  3070. }
  3071. }
  3072. },
  3073. "parameters": {},
  3074. "output": {
  3075. "type": "object",
  3076. "properties": {
  3077. "output_video": {
  3078. "type": "string",
  3079. "description": "The base64 encoded video."
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "text2sql": {
  3085. "input": {
  3086. "type": "object",
  3087. "properties": {
  3088. "text": {
  3089. "type": "string",
  3090. "description": "The input text."
  3091. },
  3092. "database": {
  3093. "type": "string",
  3094. "description": "The input text."
  3095. }
  3096. }
  3097. },
  3098. "parameters": {},
  3099. "output": {
  3100. "type": "object",
  3101. "properties": {
  3102. "text": {
  3103. "type": "string"
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "text2text-generation": {
  3109. "input": {},
  3110. "parameters": {},
  3111. "output": {
  3112. "type": "object",
  3113. "properties": {
  3114. "text": {
  3115. "type": "string"
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "token-classification": {
  3121. "input": {},
  3122. "parameters": {},
  3123. "output": {
  3124. "type": "object"
  3125. }
  3126. },
  3127. "translation": {
  3128. "input": {
  3129. "type": "object",
  3130. "properties": {
  3131. "text": {
  3132. "type": "string",
  3133. "description": "The input text."
  3134. }
  3135. }
  3136. },
  3137. "parameters": {},
  3138. "output": {
  3139. "type": "object",
  3140. "properties": {
  3141. "translation": {
  3142. "type": "string"
  3143. }
  3144. }
  3145. }
  3146. },
  3147. "translation-evaluation": {
  3148. "input": {
  3149. "type": "object",
  3150. "properties": {
  3151. "hyp": {
  3152. "type": "array"
  3153. },
  3154. "src": {
  3155. "type": "array"
  3156. },
  3157. "ref": {
  3158. "type": "array"
  3159. }
  3160. }
  3161. },
  3162. "parameters": {},
  3163. "output": {
  3164. "type": "object",
  3165. "properties": {
  3166. "score": {
  3167. "type": "number"
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "universal-matting": {
  3173. "input": {},
  3174. "parameters": {},
  3175. "output": {
  3176. "type": "object",
  3177. "properties": {
  3178. "output_img": {
  3179. "type": "string",
  3180. "description": "The base64 encoded image."
  3181. }
  3182. }
  3183. }
  3184. },
  3185. "video-captioning": {
  3186. "input": {
  3187. "type": "object",
  3188. "properties": {
  3189. "video": {
  3190. "type": "string",
  3191. "description": "Base64 encoded video file or url string.."
  3192. }
  3193. }
  3194. },
  3195. "parameters": {},
  3196. "output": {
  3197. "type": "object",
  3198. "properties": {
  3199. "caption": {
  3200. "type": "string"
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "video-category": {
  3206. "input": {
  3207. "type": "object",
  3208. "properties": {
  3209. "video": {
  3210. "type": "string",
  3211. "description": "Base64 encoded video file or url string.."
  3212. }
  3213. }
  3214. },
  3215. "parameters": {},
  3216. "output": {
  3217. "type": "object",
  3218. "properties": {
  3219. "scores": {
  3220. "type": "array",
  3221. "items": {
  3222. "type": "number"
  3223. }
  3224. },
  3225. "labels": {
  3226. "type": "array",
  3227. "items": {
  3228. "type": "string"
  3229. }
  3230. }
  3231. }
  3232. }
  3233. },
  3234. "video-colorization": {
  3235. "input": {
  3236. "type": "object",
  3237. "properties": {
  3238. "video": {
  3239. "type": "string",
  3240. "description": "Base64 encoded video file or url string.."
  3241. }
  3242. }
  3243. },
  3244. "parameters": {},
  3245. "output": {
  3246. "type": "object",
  3247. "properties": {
  3248. "output_video": {
  3249. "type": "string",
  3250. "description": "The base64 encoded video."
  3251. }
  3252. }
  3253. }
  3254. },
  3255. "video-deinterlace": {
  3256. "input": {},
  3257. "parameters": {},
  3258. "output": {
  3259. "type": "object",
  3260. "properties": {
  3261. "output_video": {
  3262. "type": "string",
  3263. "description": "The base64 encoded video."
  3264. }
  3265. }
  3266. }
  3267. },
  3268. "video-depth-estimation": {
  3269. "input": {},
  3270. "parameters": {},
  3271. "output": {
  3272. "type": "object"
  3273. }
  3274. },
  3275. "video-embedding": {
  3276. "input": {
  3277. "type": "object",
  3278. "properties": {
  3279. "video": {
  3280. "type": "string",
  3281. "description": "Base64 encoded video file or url string.."
  3282. }
  3283. }
  3284. },
  3285. "parameters": {},
  3286. "output": {
  3287. "type": "object",
  3288. "properties": {
  3289. "video_embedding": {
  3290. "type": "array",
  3291. "items": {
  3292. "type": "number"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "video-frame-interpolation": {
  3299. "input": {
  3300. "type": "object",
  3301. "properties": {
  3302. "out_fps": {
  3303. "type": "number",
  3304. "default": 0
  3305. }
  3306. }
  3307. },
  3308. "parameters": {},
  3309. "output": {
  3310. "type": "object",
  3311. "properties": {
  3312. "output_video": {
  3313. "type": "string",
  3314. "description": "The base64 encoded video."
  3315. }
  3316. }
  3317. }
  3318. },
  3319. "video-human-matting": {
  3320. "input": {},
  3321. "parameters": {},
  3322. "output": {
  3323. "type": "object",
  3324. "properties": {
  3325. "masks": {
  3326. "type": "array",
  3327. "items": {
  3328. "type": "number"
  3329. }
  3330. },
  3331. "output_video": {
  3332. "type": "string",
  3333. "description": "The base64 encoded video."
  3334. }
  3335. }
  3336. }
  3337. },
  3338. "video-inpainting": {
  3339. "input": {
  3340. "type": "object",
  3341. "properties": {
  3342. "video_input_path": {
  3343. "type": "string",
  3344. "description": "The input text."
  3345. },
  3346. "video_output_path": {
  3347. "type": "string",
  3348. "description": "The input text."
  3349. },
  3350. "mask_path": {
  3351. "type": "string",
  3352. "description": "The input text."
  3353. }
  3354. }
  3355. },
  3356. "parameters": {},
  3357. "output": {
  3358. "type": "object",
  3359. "properties": {
  3360. "output": {
  3361. "type": "object"
  3362. }
  3363. }
  3364. }
  3365. },
  3366. "video-instance-segmentation": {
  3367. "input": {},
  3368. "parameters": {},
  3369. "output": {
  3370. "type": "object"
  3371. }
  3372. },
  3373. "video-multi-modal-embedding": {
  3374. "input": {},
  3375. "parameters": {},
  3376. "output": {
  3377. "type": "object"
  3378. }
  3379. },
  3380. "video-multi-object-tracking": {
  3381. "input": {
  3382. "type": "object",
  3383. "properties": {
  3384. "video": {
  3385. "type": "string",
  3386. "description": "Base64 encoded video file or url string.."
  3387. }
  3388. }
  3389. },
  3390. "parameters": {},
  3391. "output": {
  3392. "type": "object",
  3393. "properties": {
  3394. "boxes": {
  3395. "type": "array",
  3396. "items": {
  3397. "type": "number"
  3398. }
  3399. },
  3400. "labels": {
  3401. "type": "array",
  3402. "items": {
  3403. "type": "string"
  3404. }
  3405. },
  3406. "timestamps": {
  3407. "type": "string"
  3408. }
  3409. }
  3410. }
  3411. },
  3412. "video-object-detection": {
  3413. "input": {},
  3414. "parameters": {},
  3415. "output": {
  3416. "type": "object",
  3417. "properties": {
  3418. "scores": {
  3419. "type": "array",
  3420. "items": {
  3421. "type": "number"
  3422. }
  3423. },
  3424. "labels": {
  3425. "type": "array",
  3426. "items": {
  3427. "type": "string"
  3428. }
  3429. },
  3430. "boxes": {
  3431. "type": "array",
  3432. "items": {
  3433. "type": "number"
  3434. }
  3435. }
  3436. }
  3437. }
  3438. },
  3439. "video-object-segmentation": {
  3440. "input": {},
  3441. "parameters": {},
  3442. "output": {
  3443. "type": "object",
  3444. "properties": {
  3445. "masks": {
  3446. "type": "array",
  3447. "items": {
  3448. "type": "number"
  3449. }
  3450. }
  3451. }
  3452. }
  3453. },
  3454. "video-panoptic-segmentation": {
  3455. "input": {},
  3456. "parameters": {},
  3457. "output": {
  3458. "type": "object",
  3459. "properties": {
  3460. "scores": {
  3461. "type": "array",
  3462. "items": {
  3463. "type": "number"
  3464. }
  3465. },
  3466. "labels": {
  3467. "type": "array",
  3468. "items": {
  3469. "type": "string"
  3470. }
  3471. },
  3472. "masks": {
  3473. "type": "array",
  3474. "items": {
  3475. "type": "number"
  3476. }
  3477. },
  3478. "boxes": {
  3479. "type": "array",
  3480. "items": {
  3481. "type": "number"
  3482. }
  3483. },
  3484. "uuid": {
  3485. "type": "string"
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "video-question-answering": {
  3491. "input": {
  3492. "type": "object",
  3493. "properties": {
  3494. "video": {
  3495. "type": "string",
  3496. "description": "Base64 encoded video file or url string.."
  3497. },
  3498. "text": {
  3499. "type": "string",
  3500. "description": "The input text."
  3501. }
  3502. }
  3503. },
  3504. "parameters": {},
  3505. "output": {
  3506. "type": "object",
  3507. "properties": {
  3508. "text": {
  3509. "type": "string"
  3510. }
  3511. }
  3512. }
  3513. },
  3514. "video-single-object-tracking": {
  3515. "input": {
  3516. "type": "array",
  3517. "items": {
  3518. "type": "string",
  3519. "description": "Base64 encoded video file or url string.."
  3520. }
  3521. },
  3522. "parameters": {},
  3523. "output": {
  3524. "type": "object",
  3525. "properties": {
  3526. "boxes": {
  3527. "type": "array",
  3528. "items": {
  3529. "type": "number"
  3530. }
  3531. },
  3532. "timestamps": {
  3533. "type": "string"
  3534. }
  3535. }
  3536. }
  3537. },
  3538. "video-stabilization": {
  3539. "input": {},
  3540. "parameters": {},
  3541. "output": {
  3542. "type": "object",
  3543. "properties": {
  3544. "output_video": {
  3545. "type": "string",
  3546. "description": "The base64 encoded video."
  3547. }
  3548. }
  3549. }
  3550. },
  3551. "video-summarization": {
  3552. "input": {
  3553. "type": "object",
  3554. "properties": {
  3555. "text": {
  3556. "type": "string",
  3557. "description": "The input text."
  3558. }
  3559. }
  3560. },
  3561. "parameters": {},
  3562. "output": {
  3563. "type": "object",
  3564. "properties": {
  3565. "output": {
  3566. "type": "object"
  3567. }
  3568. }
  3569. }
  3570. },
  3571. "video-super-resolution": {
  3572. "input": {},
  3573. "parameters": {},
  3574. "output": {
  3575. "type": "object",
  3576. "properties": {
  3577. "output_video": {
  3578. "type": "string",
  3579. "description": "The base64 encoded video."
  3580. }
  3581. }
  3582. }
  3583. },
  3584. "video-temporal-grounding": {
  3585. "input": {},
  3586. "parameters": {},
  3587. "output": {
  3588. "type": "object",
  3589. "properties": {
  3590. "scores": {
  3591. "type": "array",
  3592. "items": {
  3593. "type": "number"
  3594. }
  3595. },
  3596. "tbounds": {
  3597. "type": "object"
  3598. }
  3599. }
  3600. }
  3601. },
  3602. "video-text-retrieval": {
  3603. "input": {},
  3604. "parameters": {},
  3605. "output": {
  3606. "type": "object"
  3607. }
  3608. },
  3609. "virtual-try-on": {
  3610. "input": {
  3611. "type": "array",
  3612. "items": {
  3613. "type": "string",
  3614. "description": "Base64 encoded image file or url string."
  3615. }
  3616. },
  3617. "parameters": {},
  3618. "output": {
  3619. "type": "object",
  3620. "properties": {
  3621. "output_img": {
  3622. "type": "string",
  3623. "description": "The base64 encoded image."
  3624. }
  3625. }
  3626. }
  3627. },
  3628. "vision-efficient-tuning": {
  3629. "input": {
  3630. "type": "object",
  3631. "properties": {
  3632. "image": {
  3633. "type": "string",
  3634. "description": "Base64 encoded image file or url string."
  3635. }
  3636. }
  3637. },
  3638. "parameters": {},
  3639. "output": {
  3640. "type": "object",
  3641. "properties": {
  3642. "scores": {
  3643. "type": "array",
  3644. "items": {
  3645. "type": "number"
  3646. }
  3647. },
  3648. "labels": {
  3649. "type": "array",
  3650. "items": {
  3651. "type": "string"
  3652. }
  3653. }
  3654. }
  3655. }
  3656. },
  3657. "visual-entailment": {
  3658. "input": {
  3659. "type": "object",
  3660. "properties": {
  3661. "image": {
  3662. "type": "string",
  3663. "description": "Base64 encoded image file or url string."
  3664. },
  3665. "text": {
  3666. "type": "string",
  3667. "description": "The input text."
  3668. },
  3669. "text2": {
  3670. "type": "string",
  3671. "description": "The input text."
  3672. }
  3673. }
  3674. },
  3675. "parameters": {},
  3676. "output": {
  3677. "type": "object",
  3678. "properties": {
  3679. "scores": {
  3680. "type": "array",
  3681. "items": {
  3682. "type": "number"
  3683. }
  3684. },
  3685. "labels": {
  3686. "type": "array",
  3687. "items": {
  3688. "type": "string"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "visual-grounding": {
  3695. "input": {
  3696. "type": "object",
  3697. "properties": {
  3698. "image": {
  3699. "type": "string",
  3700. "description": "Base64 encoded image file or url string."
  3701. },
  3702. "text": {
  3703. "type": "string",
  3704. "description": "The input text."
  3705. }
  3706. }
  3707. },
  3708. "parameters": {},
  3709. "output": {
  3710. "type": "object",
  3711. "properties": {
  3712. "boxes": {
  3713. "type": "array",
  3714. "items": {
  3715. "type": "number"
  3716. }
  3717. },
  3718. "scores": {
  3719. "type": "array",
  3720. "items": {
  3721. "type": "number"
  3722. }
  3723. }
  3724. }
  3725. }
  3726. },
  3727. "visual-question-answering": {
  3728. "input": {
  3729. "type": "object",
  3730. "properties": {
  3731. "image": {
  3732. "type": "string",
  3733. "description": "Base64 encoded image file or url string."
  3734. },
  3735. "text": {
  3736. "type": "string",
  3737. "description": "The input text."
  3738. }
  3739. }
  3740. },
  3741. "parameters": {},
  3742. "output": {
  3743. "type": "object",
  3744. "properties": {
  3745. "text": {
  3746. "type": "string"
  3747. }
  3748. }
  3749. }
  3750. },
  3751. "voice-activity-detection": {
  3752. "input": {},
  3753. "parameters": {},
  3754. "output": {
  3755. "type": "object"
  3756. }
  3757. },
  3758. "word-alignment": {
  3759. "input": {},
  3760. "parameters": {},
  3761. "output": {
  3762. "type": "object",
  3763. "properties": {
  3764. "output": {
  3765. "type": "object"
  3766. }
  3767. }
  3768. }
  3769. },
  3770. "word-segmentation": {
  3771. "input": {
  3772. "type": "object",
  3773. "properties": {
  3774. "text": {
  3775. "type": "string",
  3776. "description": "The input text."
  3777. }
  3778. }
  3779. },
  3780. "parameters": {},
  3781. "output": {
  3782. "type": "object",
  3783. "properties": {
  3784. "output": {
  3785. "type": "object"
  3786. }
  3787. }
  3788. }
  3789. },
  3790. "zero-shot-classification": {
  3791. "input": {
  3792. "type": "object",
  3793. "properties": {
  3794. "text": {
  3795. "type": "string",
  3796. "description": "The input text."
  3797. }
  3798. }
  3799. },
  3800. "parameters": {
  3801. "type": "object",
  3802. "properties": {
  3803. "candidate_labels": {
  3804. "type": "object"
  3805. },
  3806. "multi_label": {
  3807. "type": "boolean",
  3808. "default": false
  3809. }
  3810. }
  3811. },
  3812. "output": {
  3813. "type": "object",
  3814. "properties": {
  3815. "scores": {
  3816. "type": "array",
  3817. "items": {
  3818. "type": "number"
  3819. }
  3820. },
  3821. "labels": {
  3822. "type": "array",
  3823. "items": {
  3824. "type": "string"
  3825. }
  3826. }
  3827. }
  3828. }
  3829. },
  3830. "self-supervised-depth-completion": {
  3831. "input": {},
  3832. "parameters": {},
  3833. "output": {
  3834. "type": "object",
  3835. "properties": {
  3836. "output_img": {
  3837. "type": "string",
  3838. "description":"The base64 encoded image."
  3839. }
  3840. }
  3841. }
  3842. }
  3843. }