relay.json 168 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "AI模型接口",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [
  9. {
  10. "name": "获取模型列表"
  11. },
  12. {
  13. "name": "OpenAI格式(Chat)"
  14. },
  15. {
  16. "name": "OpenAI格式(Responses)"
  17. },
  18. {
  19. "name": "图片生成"
  20. },
  21. {
  22. "name": "图片生成/OpenAI兼容格式"
  23. },
  24. {
  25. "name": "图片生成/Qwen千问"
  26. },
  27. {
  28. "name": "视频生成"
  29. },
  30. {
  31. "name": "视频生成/Sora兼容格式"
  32. },
  33. {
  34. "name": "视频生成/Kling格式"
  35. },
  36. {
  37. "name": "视频生成/即梦格式"
  38. },
  39. {
  40. "name": "Claude格式(Messages)"
  41. },
  42. {
  43. "name": "Gemini格式"
  44. },
  45. {
  46. "name": "OpenAI格式(Embeddings)"
  47. },
  48. {
  49. "name": "文本补全(Completions)"
  50. },
  51. {
  52. "name": "OpenAI音频(Audio)"
  53. },
  54. {
  55. "name": "重排序(Rerank)"
  56. },
  57. {
  58. "name": "Moderations"
  59. },
  60. {
  61. "name": "Realtime"
  62. },
  63. {
  64. "name": "未实现"
  65. },
  66. {
  67. "name": "未实现/Fine-tunes"
  68. },
  69. {
  70. "name": "未实现/Files"
  71. }
  72. ],
  73. "paths": {
  74. "/v1/models": {
  75. "get": {
  76. "summary": "获取模型列表",
  77. "deprecated": false,
  78. "description": "获取当前可用的模型列表。\n\n根据请求头自动识别返回格式:\n- 包含 `x-api-key` 和 `anthropic-version` 头时返回 Anthropic 格式\n- 包含 `x-goog-api-key` 头或 `key` 查询参数时返回 Gemini 格式\n- 其他情况返回 OpenAI 格式\n",
  79. "operationId": "listModels",
  80. "tags": [
  81. "获取模型列表"
  82. ],
  83. "parameters": [
  84. {
  85. "name": "key",
  86. "in": "query",
  87. "description": "Google API Key (用于 Gemini 格式)",
  88. "required": false,
  89. "schema": {
  90. "type": "string"
  91. }
  92. },
  93. {
  94. "name": "x-api-key",
  95. "in": "header",
  96. "description": "Anthropic API Key (用于 Claude 格式)",
  97. "required": false,
  98. "example": "",
  99. "schema": {
  100. "type": "string"
  101. }
  102. },
  103. {
  104. "name": "anthropic-version",
  105. "in": "header",
  106. "description": "Anthropic API 版本",
  107. "required": false,
  108. "example": "",
  109. "schema": {
  110. "type": "string",
  111. "example": "2023-06-01"
  112. }
  113. },
  114. {
  115. "name": "x-goog-api-key",
  116. "in": "header",
  117. "description": "Google API Key (用于 Gemini 格式)",
  118. "required": false,
  119. "example": "",
  120. "schema": {
  121. "type": "string"
  122. }
  123. }
  124. ],
  125. "responses": {
  126. "200": {
  127. "description": "成功获取模型列表",
  128. "content": {
  129. "application/json": {
  130. "schema": {
  131. "$ref": "#/components/schemas/ModelsResponse"
  132. }
  133. }
  134. },
  135. "headers": {}
  136. },
  137. "401": {
  138. "description": "认证失败",
  139. "content": {
  140. "application/json": {
  141. "schema": {
  142. "$ref": "#/components/schemas/ErrorResponse"
  143. }
  144. }
  145. },
  146. "headers": {}
  147. }
  148. },
  149. "security": [
  150. {
  151. "BearerAuth": []
  152. }
  153. ]
  154. }
  155. },
  156. "/v1beta/models": {
  157. "get": {
  158. "summary": "Gemini 格式获取",
  159. "deprecated": false,
  160. "description": "以 Gemini API 格式返回可用模型列表",
  161. "operationId": "listModelsGemini",
  162. "tags": [
  163. "获取模型列表"
  164. ],
  165. "parameters": [],
  166. "responses": {
  167. "200": {
  168. "description": "成功获取模型列表",
  169. "content": {
  170. "application/json": {
  171. "schema": {
  172. "$ref": "#/components/schemas/GeminiModelsResponse"
  173. }
  174. }
  175. },
  176. "headers": {}
  177. }
  178. },
  179. "security": [
  180. {
  181. "BearerAuth": []
  182. }
  183. ]
  184. }
  185. },
  186. "/v1/chat/completions": {
  187. "post": {
  188. "summary": "创建聊天对话",
  189. "deprecated": false,
  190. "description": "根据对话历史创建模型响应。支持流式和非流式响应。\n\n兼容 OpenAI Chat Completions API。\n",
  191. "operationId": "createChatCompletion",
  192. "tags": [
  193. "OpenAI格式(Chat)"
  194. ],
  195. "parameters": [],
  196. "requestBody": {
  197. "content": {
  198. "application/json": {
  199. "schema": {
  200. "$ref": "#/components/schemas/ChatCompletionRequest"
  201. }
  202. }
  203. },
  204. "required": true
  205. },
  206. "responses": {
  207. "200": {
  208. "description": "成功创建响应",
  209. "content": {
  210. "application/json": {
  211. "schema": {
  212. "$ref": "#/components/schemas/ChatCompletionResponse"
  213. }
  214. }
  215. },
  216. "headers": {}
  217. },
  218. "400": {
  219. "description": "请求参数错误",
  220. "content": {
  221. "application/json": {
  222. "schema": {
  223. "$ref": "#/components/schemas/ErrorResponse"
  224. }
  225. }
  226. },
  227. "headers": {}
  228. },
  229. "429": {
  230. "description": "请求频率限制",
  231. "content": {
  232. "application/json": {
  233. "schema": {
  234. "$ref": "#/components/schemas/ErrorResponse"
  235. }
  236. }
  237. },
  238. "headers": {}
  239. }
  240. },
  241. "security": [
  242. {
  243. "BearerAuth": []
  244. }
  245. ]
  246. }
  247. },
  248. "/v1/responses": {
  249. "post": {
  250. "summary": "创建响应 (OpenAI Responses API)",
  251. "deprecated": false,
  252. "description": "OpenAI Responses API,用于创建模型响应。\n支持多轮对话、工具调用、推理等功能。\n",
  253. "operationId": "createResponse",
  254. "tags": [
  255. "OpenAI格式(Responses)"
  256. ],
  257. "parameters": [],
  258. "requestBody": {
  259. "content": {
  260. "application/json": {
  261. "schema": {
  262. "$ref": "#/components/schemas/ResponsesRequest"
  263. }
  264. }
  265. },
  266. "required": true
  267. },
  268. "responses": {
  269. "200": {
  270. "description": "成功创建响应",
  271. "content": {
  272. "application/json": {
  273. "schema": {
  274. "$ref": "#/components/schemas/ResponsesResponse"
  275. }
  276. }
  277. },
  278. "headers": {}
  279. }
  280. },
  281. "security": [
  282. {
  283. "BearerAuth": []
  284. }
  285. ]
  286. }
  287. },
  288. "/v1/responses/compact": {
  289. "post": {
  290. "summary": "压缩对话 (OpenAI Responses API)",
  291. "deprecated": false,
  292. "description": "OpenAI Responses API,用于对长对话进行 compaction。",
  293. "operationId": "compactResponse",
  294. "tags": [
  295. "OpenAI格式(Responses)"
  296. ],
  297. "parameters": [],
  298. "requestBody": {
  299. "content": {
  300. "application/json": {
  301. "schema": {
  302. "$ref": "#/components/schemas/ResponsesCompactionRequest"
  303. }
  304. }
  305. },
  306. "required": true
  307. },
  308. "responses": {
  309. "200": {
  310. "description": "成功压缩对话",
  311. "content": {
  312. "application/json": {
  313. "schema": {
  314. "$ref": "#/components/schemas/ResponsesCompactionResponse"
  315. }
  316. }
  317. },
  318. "headers": {}
  319. }
  320. },
  321. "security": [
  322. {
  323. "BearerAuth": []
  324. }
  325. ]
  326. }
  327. },
  328. "/v1/images/generations": {
  329. "post": {
  330. "summary": "生成图像(qwen-image)",
  331. "deprecated": false,
  332. "description": " 百炼qwen-image系列图片生成",
  333. "operationId": "createImage",
  334. "tags": [
  335. "图片生成/Qwen千问"
  336. ],
  337. "parameters": [],
  338. "requestBody": {
  339. "content": {
  340. "application/json": {
  341. "schema": {
  342. "type": "object",
  343. "properties": {
  344. "model": {
  345. "type": "string"
  346. },
  347. "input": {
  348. "type": "object",
  349. "properties": {
  350. "messages": {
  351. "type": "array",
  352. "items": {
  353. "type": "object",
  354. "properties": {
  355. "role": {
  356. "type": "string"
  357. },
  358. "content": {
  359. "type": "array",
  360. "items": {
  361. "type": "object",
  362. "properties": {
  363. "text": {
  364. "type": "string"
  365. }
  366. }
  367. }
  368. }
  369. }
  370. }
  371. }
  372. },
  373. "required": [
  374. "messages"
  375. ]
  376. },
  377. "parameters": {
  378. "type": "object",
  379. "properties": {
  380. "negative_prompt": {
  381. "type": "string"
  382. },
  383. "prompt_extend": {
  384. "type": "boolean"
  385. },
  386. "watermark": {
  387. "type": "boolean"
  388. },
  389. "size": {
  390. "type": "string"
  391. }
  392. }
  393. }
  394. },
  395. "required": [
  396. "model",
  397. "input"
  398. ]
  399. },
  400. "example": {
  401. "model": "qwen-image-plus",
  402. "input": {
  403. "messages": [
  404. {
  405. "role": "user",
  406. "content": [
  407. {
  408. "text": "一副典雅庄重的对联悬挂于厅堂之中,房间是个安静古典的中式布置,桌子上放着一些青花瓷,对联上左书“义本生知人机同道善思新”,右书“通云赋智乾坤启数高志远”, 横批“智启通义”,字体飘逸,在中间挂着一幅中国风的画作,内容是岳阳楼。"
  409. }
  410. ]
  411. }
  412. ]
  413. },
  414. "parameters": {
  415. "negative_prompt": "",
  416. "prompt_extend": true,
  417. "watermark": false,
  418. "size": "1328*1328"
  419. }
  420. }
  421. }
  422. }
  423. },
  424. "responses": {
  425. "200": {
  426. "description": "成功生成图像",
  427. "content": {
  428. "application/json": {
  429. "schema": {
  430. "$ref": "#/components/schemas/ImageResponse"
  431. }
  432. }
  433. },
  434. "headers": {}
  435. }
  436. },
  437. "security": [
  438. {
  439. "BearerAuth": []
  440. }
  441. ]
  442. }
  443. },
  444. "/v1/images/edits": {
  445. "post": {
  446. "summary": "编辑图像(qwen-image-edit)",
  447. "deprecated": false,
  448. "description": " 百炼qwen-image系列图片生成",
  449. "operationId": "createImage",
  450. "tags": [
  451. "图片生成/Qwen千问"
  452. ],
  453. "parameters": [],
  454. "requestBody": {
  455. "content": {
  456. "application/json": {
  457. "schema": {
  458. "type": "object",
  459. "properties": {
  460. "model": {
  461. "type": "string"
  462. },
  463. "input": {
  464. "type": "object",
  465. "properties": {
  466. "messages": {
  467. "type": "array",
  468. "items": {
  469. "type": "object",
  470. "properties": {
  471. "role": {
  472. "type": "string"
  473. },
  474. "content": {
  475. "type": "array",
  476. "items": {
  477. "type": "object",
  478. "properties": {
  479. "image": {
  480. "type": "string"
  481. },
  482. "text": {
  483. "type": "string"
  484. }
  485. }
  486. }
  487. }
  488. }
  489. }
  490. }
  491. },
  492. "required": [
  493. "messages"
  494. ]
  495. },
  496. "parameters": {
  497. "type": "object",
  498. "properties": {
  499. "n": {
  500. "type": "integer"
  501. },
  502. "negative_prompt": {
  503. "type": "string"
  504. },
  505. "prompt_extend": {
  506. "type": "boolean"
  507. },
  508. "watermark": {
  509. "type": "boolean"
  510. },
  511. "size": {
  512. "type": "string"
  513. }
  514. }
  515. }
  516. },
  517. "required": [
  518. "model",
  519. "input"
  520. ]
  521. },
  522. "example": "{\n \"model\": \"qwen-image-edit-plus\",\n \"input\": {\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": [\n {\n \"image\": \"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp\"\n },\n {\n \"text\": \"生成一张符合深度图的图像,遵循以下描述:一辆红色的破旧的自行车停在一条泥泞的小路上,背景是茂密的原始森林\"\n }\n ]\n }\n ]\n },\n \"parameters\": {\n \"n\": 2,\n \"negative_prompt\": \" \",\n \"prompt_extend\": true,\n \"watermark\": false\n }"
  523. }
  524. }
  525. },
  526. "responses": {
  527. "200": {
  528. "description": "成功生成图像",
  529. "content": {
  530. "application/json": {
  531. "schema": {
  532. "$ref": "#/components/schemas/ImageResponse"
  533. }
  534. }
  535. },
  536. "headers": {}
  537. }
  538. },
  539. "security": [
  540. {
  541. "BearerAuth": []
  542. }
  543. ]
  544. }
  545. },
  546. "/v1/videos": {
  547. "post": {
  548. "summary": "创建视频 ",
  549. "deprecated": false,
  550. "description": "OpenAI 兼容的视频生成接口。\n\n参考文档: https://platform.openai.com/docs/api-reference/videos/create\n",
  551. "operationId": "createVideo",
  552. "tags": [
  553. "视频生成/Sora兼容格式"
  554. ],
  555. "parameters": [],
  556. "requestBody": {
  557. "content": {
  558. "multipart/form-data": {
  559. "schema": {
  560. "type": "object",
  561. "properties": {
  562. "model": {
  563. "description": "模型名称",
  564. "example": "sora-2",
  565. "type": "string"
  566. },
  567. "prompt": {
  568. "description": "提示词",
  569. "example": "cute cat dance",
  570. "type": "string"
  571. },
  572. "seconds": {
  573. "description": "生成秒数",
  574. "example": "8",
  575. "type": "string"
  576. },
  577. "input_reference": {
  578. "format": "binary",
  579. "type": "string",
  580. "description": "参考图片文件",
  581. "example": ""
  582. }
  583. }
  584. },
  585. "examples": {}
  586. }
  587. }
  588. },
  589. "responses": {
  590. "200": {
  591. "description": "成功创建视频任务",
  592. "content": {
  593. "application/json": {
  594. "schema": {
  595. "type": "object",
  596. "properties": {
  597. "id": {
  598. "type": "string",
  599. "description": "视频 ID"
  600. },
  601. "object": {
  602. "type": "string",
  603. "description": "对象类型"
  604. },
  605. "model": {
  606. "type": "string",
  607. "description": "使用的模型"
  608. },
  609. "status": {
  610. "type": "string",
  611. "description": "任务状态"
  612. },
  613. "progress": {
  614. "type": "integer",
  615. "description": "进度百分比"
  616. },
  617. "created_at": {
  618. "type": "integer",
  619. "description": "创建时间戳"
  620. },
  621. "seconds": {
  622. "type": "string",
  623. "description": "视频时长"
  624. },
  625. "completed_at": {
  626. "type": "integer",
  627. "description": "完成时间戳"
  628. },
  629. "expires_at": {
  630. "type": "integer",
  631. "description": "过期时间戳"
  632. },
  633. "size": {
  634. "type": "string",
  635. "description": "视频尺寸"
  636. },
  637. "error": {
  638. "$ref": "#/components/schemas/OpenAIVideoError"
  639. },
  640. "metadata": {
  641. "type": "object",
  642. "description": "额外元数据",
  643. "additionalProperties": true,
  644. "properties": {}
  645. }
  646. },
  647. "required": [
  648. "id",
  649. "object",
  650. "model",
  651. "status",
  652. "progress",
  653. "created_at",
  654. "seconds"
  655. ]
  656. },
  657. "example": {
  658. "id": "sora-2-123456",
  659. "object": "video",
  660. "model": "sora-2",
  661. "status": "queued",
  662. "progress": 0,
  663. "created_at": 1764347090922,
  664. "seconds": "8"
  665. }
  666. }
  667. },
  668. "headers": {}
  669. },
  670. "400": {
  671. "description": "请求参数错误",
  672. "content": {
  673. "application/json": {
  674. "schema": {
  675. "$ref": "#/components/schemas/ErrorResponse"
  676. }
  677. }
  678. },
  679. "headers": {}
  680. }
  681. },
  682. "security": [
  683. {
  684. "BearerAuth": []
  685. }
  686. ]
  687. }
  688. },
  689. "/v1/videos/{task_id}": {
  690. "get": {
  691. "summary": "获取视频任务状态 ",
  692. "deprecated": false,
  693. "description": "OpenAI 兼容的视频任务状态查询接口。\n\n返回视频任务的详细状态信息。\n",
  694. "operationId": "getVideo",
  695. "tags": [
  696. "视频生成/Sora兼容格式"
  697. ],
  698. "parameters": [
  699. {
  700. "name": "task_id",
  701. "in": "path",
  702. "description": "视频任务 ID",
  703. "required": true,
  704. "example": "sora-2-123456",
  705. "schema": {
  706. "type": "string"
  707. }
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "成功获取视频任务状态",
  713. "content": {
  714. "application/json": {
  715. "schema": {
  716. "type": "object",
  717. "properties": {
  718. "id": {
  719. "type": "string"
  720. },
  721. "object": {
  722. "type": "string"
  723. },
  724. "model": {
  725. "type": "string"
  726. },
  727. "status": {
  728. "type": "string"
  729. },
  730. "progress": {
  731. "type": "integer"
  732. },
  733. "created_at": {
  734. "type": "integer"
  735. },
  736. "seconds": {
  737. "type": "string"
  738. }
  739. },
  740. "required": [
  741. "id",
  742. "object",
  743. "model",
  744. "status",
  745. "progress",
  746. "created_at",
  747. "seconds"
  748. ]
  749. },
  750. "example": {
  751. "id": "sora-2-123456",
  752. "object": "video",
  753. "model": "sora-2",
  754. "status": "queued",
  755. "progress": 0,
  756. "created_at": 1764347090922,
  757. "seconds": "8"
  758. }
  759. }
  760. },
  761. "headers": {}
  762. },
  763. "404": {
  764. "description": "任务不存在",
  765. "content": {
  766. "application/json": {
  767. "schema": {
  768. "$ref": "#/components/schemas/ErrorResponse"
  769. }
  770. }
  771. },
  772. "headers": {}
  773. }
  774. },
  775. "security": [
  776. {
  777. "BearerAuth": []
  778. }
  779. ]
  780. }
  781. },
  782. "/v1/videos/{task_id}/content": {
  783. "get": {
  784. "summary": "获取视频内容",
  785. "deprecated": false,
  786. "description": "获取已完成视频任务的视频文件内容。\n\n此接口会代理返回视频文件流。\n",
  787. "operationId": "getVideoContent",
  788. "tags": [
  789. "视频生成/Sora兼容格式"
  790. ],
  791. "parameters": [
  792. {
  793. "name": "task_id",
  794. "in": "path",
  795. "description": "视频任务 ID",
  796. "required": true,
  797. "example": "video-abc123",
  798. "schema": {
  799. "type": "string"
  800. }
  801. }
  802. ],
  803. "responses": {
  804. "200": {
  805. "description": "成功获取视频内容",
  806. "content": {
  807. "video/mp4": {
  808. "schema": {
  809. "type": "string",
  810. "format": "binary"
  811. }
  812. }
  813. },
  814. "headers": {}
  815. },
  816. "404": {
  817. "description": "视频不存在或未完成",
  818. "content": {
  819. "application/json": {
  820. "schema": {
  821. "$ref": "#/components/schemas/ErrorResponse"
  822. }
  823. }
  824. },
  825. "headers": {}
  826. }
  827. },
  828. "security": [
  829. {
  830. "BearerAuth": []
  831. }
  832. ]
  833. }
  834. },
  835. "/kling/v1/videos/text2video": {
  836. "post": {
  837. "summary": "Kling 文生视频",
  838. "deprecated": false,
  839. "description": "使用 Kling 模型从文本描述生成视频。\n\n支持的模型:kling-v1, kling-v1-5 等\n",
  840. "operationId": "createKlingText2Video",
  841. "tags": [
  842. "视频生成/Kling格式"
  843. ],
  844. "parameters": [],
  845. "requestBody": {
  846. "content": {
  847. "application/json": {
  848. "schema": {
  849. "$ref": "#/components/schemas/VideoRequest"
  850. },
  851. "example": {
  852. "model": "kling-v1",
  853. "prompt": "宇航员站起身走了",
  854. "duration": 5,
  855. "width": 1280,
  856. "height": 720,
  857. "fps": 30
  858. }
  859. }
  860. }
  861. },
  862. "responses": {
  863. "200": {
  864. "description": "成功创建视频生成任务",
  865. "content": {
  866. "application/json": {
  867. "schema": {
  868. "$ref": "#/components/schemas/VideoResponse"
  869. }
  870. }
  871. },
  872. "headers": {}
  873. },
  874. "400": {
  875. "description": "请求参数错误",
  876. "content": {
  877. "application/json": {
  878. "schema": {
  879. "$ref": "#/components/schemas/ErrorResponse"
  880. }
  881. }
  882. },
  883. "headers": {}
  884. }
  885. },
  886. "security": [
  887. {
  888. "BearerAuth": []
  889. }
  890. ]
  891. }
  892. },
  893. "/kling/v1/videos/text2video/{task_id}": {
  894. "get": {
  895. "summary": "获取 Kling 文生视频任务状态",
  896. "deprecated": false,
  897. "description": "查询 Kling 文生视频任务的状态和结果。",
  898. "operationId": "getKlingText2Video",
  899. "tags": [
  900. "视频生成/Kling格式"
  901. ],
  902. "parameters": [
  903. {
  904. "name": "task_id",
  905. "in": "path",
  906. "description": "任务 ID",
  907. "required": true,
  908. "example": "task-abc123",
  909. "schema": {
  910. "type": "string"
  911. }
  912. }
  913. ],
  914. "responses": {
  915. "200": {
  916. "description": "成功获取任务状态",
  917. "content": {
  918. "application/json": {
  919. "schema": {
  920. "$ref": "#/components/schemas/VideoTaskResponse"
  921. }
  922. }
  923. },
  924. "headers": {}
  925. },
  926. "404": {
  927. "description": "任务不存在",
  928. "content": {
  929. "application/json": {
  930. "schema": {
  931. "$ref": "#/components/schemas/ErrorResponse"
  932. }
  933. }
  934. },
  935. "headers": {}
  936. }
  937. },
  938. "security": [
  939. {
  940. "BearerAuth": []
  941. }
  942. ]
  943. }
  944. },
  945. "/kling/v1/videos/image2video": {
  946. "post": {
  947. "summary": "Kling 图生视频",
  948. "deprecated": false,
  949. "description": "使用 Kling 模型从图片生成视频。\n\n支持通过 image 参数传入图片 URL 或 Base64 编码的图片数据。\n",
  950. "operationId": "createKlingImage2Video",
  951. "tags": [
  952. "视频生成/Kling格式"
  953. ],
  954. "parameters": [],
  955. "requestBody": {
  956. "content": {
  957. "application/json": {
  958. "schema": {
  959. "$ref": "#/components/schemas/VideoRequest"
  960. },
  961. "example": {
  962. "model": "kling-v1",
  963. "prompt": "人物转身走开",
  964. "image": "https://example.com/image.jpg",
  965. "duration": 5,
  966. "width": 1280,
  967. "height": 720
  968. }
  969. }
  970. }
  971. },
  972. "responses": {
  973. "200": {
  974. "description": "成功创建视频生成任务",
  975. "content": {
  976. "application/json": {
  977. "schema": {
  978. "$ref": "#/components/schemas/VideoResponse"
  979. }
  980. }
  981. },
  982. "headers": {}
  983. },
  984. "400": {
  985. "description": "请求参数错误",
  986. "content": {
  987. "application/json": {
  988. "schema": {
  989. "$ref": "#/components/schemas/ErrorResponse"
  990. }
  991. }
  992. },
  993. "headers": {}
  994. }
  995. },
  996. "security": [
  997. {
  998. "BearerAuth": []
  999. }
  1000. ]
  1001. }
  1002. },
  1003. "/kling/v1/videos/image2video/{task_id}": {
  1004. "get": {
  1005. "summary": "获取 Kling 图生视频任务状态",
  1006. "deprecated": false,
  1007. "description": "查询 Kling 图生视频任务的状态和结果。",
  1008. "operationId": "getKlingImage2Video",
  1009. "tags": [
  1010. "视频生成/Kling格式"
  1011. ],
  1012. "parameters": [
  1013. {
  1014. "name": "task_id",
  1015. "in": "path",
  1016. "description": "任务 ID",
  1017. "required": true,
  1018. "example": "task-abc123",
  1019. "schema": {
  1020. "type": "string"
  1021. }
  1022. }
  1023. ],
  1024. "responses": {
  1025. "200": {
  1026. "description": "成功获取任务状态",
  1027. "content": {
  1028. "application/json": {
  1029. "schema": {
  1030. "$ref": "#/components/schemas/VideoTaskResponse"
  1031. }
  1032. }
  1033. },
  1034. "headers": {}
  1035. },
  1036. "404": {
  1037. "description": "任务不存在",
  1038. "content": {
  1039. "application/json": {
  1040. "schema": {
  1041. "$ref": "#/components/schemas/ErrorResponse"
  1042. }
  1043. }
  1044. },
  1045. "headers": {}
  1046. }
  1047. },
  1048. "security": [
  1049. {
  1050. "BearerAuth": []
  1051. }
  1052. ]
  1053. }
  1054. },
  1055. "/jimeng/": {
  1056. "post": {
  1057. "summary": "即梦视频生成",
  1058. "deprecated": false,
  1059. "description": "即梦官方 API 格式的视频生成接口。\n\n支持通过 Action 参数指定操作类型:\n- `CVSync2AsyncSubmitTask`: 提交视频生成任务\n- `CVSync2AsyncGetResult`: 获取任务结果\n\n需要在查询参数中指定 Action 和 Version。\n",
  1060. "operationId": "createJimengVideo",
  1061. "tags": [
  1062. "视频生成/即梦格式"
  1063. ],
  1064. "parameters": [
  1065. {
  1066. "name": "Action",
  1067. "in": "query",
  1068. "description": "API 操作类型",
  1069. "required": true,
  1070. "schema": {
  1071. "type": "string",
  1072. "enum": [
  1073. "CVSync2AsyncSubmitTask",
  1074. "CVSync2AsyncGetResult"
  1075. ]
  1076. }
  1077. },
  1078. {
  1079. "name": "Version",
  1080. "in": "query",
  1081. "description": "API 版本",
  1082. "required": true,
  1083. "example": "2022-08-31",
  1084. "schema": {
  1085. "type": "string"
  1086. }
  1087. }
  1088. ],
  1089. "requestBody": {
  1090. "content": {
  1091. "application/json": {
  1092. "schema": {
  1093. "type": "object",
  1094. "description": "即梦官方 API 请求格式",
  1095. "properties": {
  1096. "req_key": {
  1097. "type": "string",
  1098. "description": "请求类型标识"
  1099. },
  1100. "prompt": {
  1101. "type": "string",
  1102. "description": "文本描述"
  1103. },
  1104. "binary_data_base64": {
  1105. "type": "array",
  1106. "items": {
  1107. "type": "string"
  1108. },
  1109. "description": "Base64 编码的图片数据"
  1110. }
  1111. }
  1112. },
  1113. "example": {
  1114. "req_key": "jimeng_video_generation",
  1115. "prompt": "一只猫在弹钢琴"
  1116. }
  1117. }
  1118. }
  1119. },
  1120. "responses": {
  1121. "200": {
  1122. "description": "成功处理请求",
  1123. "content": {
  1124. "application/json": {
  1125. "schema": {
  1126. "type": "object",
  1127. "properties": {
  1128. "code": {
  1129. "type": "integer",
  1130. "description": "响应码"
  1131. },
  1132. "message": {
  1133. "type": "string",
  1134. "description": "响应消息"
  1135. },
  1136. "data": {
  1137. "type": "object",
  1138. "description": "响应数据",
  1139. "properties": {}
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "headers": {}
  1146. },
  1147. "400": {
  1148. "description": "请求参数错误",
  1149. "content": {
  1150. "application/json": {
  1151. "schema": {
  1152. "$ref": "#/components/schemas/ErrorResponse"
  1153. }
  1154. }
  1155. },
  1156. "headers": {}
  1157. }
  1158. },
  1159. "security": [
  1160. {
  1161. "BearerAuth": []
  1162. }
  1163. ]
  1164. }
  1165. },
  1166. "/v1/video/generations": {
  1167. "post": {
  1168. "summary": "创建视频生成任务",
  1169. "deprecated": false,
  1170. "description": "提交视频生成任务,支持文生视频和图生视频。\n\n返回任务 ID,可通过 GET 接口查询任务状态。\n",
  1171. "operationId": "createVideoGeneration",
  1172. "tags": [
  1173. "视频生成"
  1174. ],
  1175. "parameters": [],
  1176. "requestBody": {
  1177. "content": {
  1178. "application/json": {
  1179. "schema": {
  1180. "$ref": "#/components/schemas/VideoRequest"
  1181. },
  1182. "example": {
  1183. "model": "kling-v1",
  1184. "prompt": "宇航员在月球上漫步",
  1185. "duration": 5,
  1186. "width": 1280,
  1187. "height": 720
  1188. }
  1189. }
  1190. },
  1191. "required": true
  1192. },
  1193. "responses": {
  1194. "200": {
  1195. "description": "成功创建视频生成任务",
  1196. "content": {
  1197. "application/json": {
  1198. "schema": {
  1199. "$ref": "#/components/schemas/VideoResponse"
  1200. }
  1201. }
  1202. },
  1203. "headers": {}
  1204. },
  1205. "400": {
  1206. "description": "请求参数错误",
  1207. "content": {
  1208. "application/json": {
  1209. "schema": {
  1210. "$ref": "#/components/schemas/ErrorResponse"
  1211. }
  1212. }
  1213. },
  1214. "headers": {}
  1215. }
  1216. },
  1217. "security": [
  1218. {
  1219. "BearerAuth": []
  1220. }
  1221. ]
  1222. }
  1223. },
  1224. "/v1/video/generations/{task_id}": {
  1225. "get": {
  1226. "summary": "获取视频生成任务状态",
  1227. "deprecated": false,
  1228. "description": "查询视频生成任务的状态和结果。\n\n任务状态:\n- `queued`: 排队中\n- `in_progress`: 生成中\n- `completed`: 已完成\n- `failed`: 失败\n",
  1229. "operationId": "getVideoGeneration",
  1230. "tags": [
  1231. "视频生成"
  1232. ],
  1233. "parameters": [
  1234. {
  1235. "name": "task_id",
  1236. "in": "path",
  1237. "description": "任务 ID",
  1238. "required": true,
  1239. "example": "abcd1234efgh",
  1240. "schema": {
  1241. "type": "string"
  1242. }
  1243. }
  1244. ],
  1245. "responses": {
  1246. "200": {
  1247. "description": "成功获取任务状态",
  1248. "content": {
  1249. "application/json": {
  1250. "schema": {
  1251. "$ref": "#/components/schemas/VideoTaskResponse"
  1252. }
  1253. }
  1254. },
  1255. "headers": {}
  1256. },
  1257. "404": {
  1258. "description": "任务不存在",
  1259. "content": {
  1260. "application/json": {
  1261. "schema": {
  1262. "$ref": "#/components/schemas/ErrorResponse"
  1263. }
  1264. }
  1265. },
  1266. "headers": {}
  1267. }
  1268. },
  1269. "security": [
  1270. {
  1271. "BearerAuth": []
  1272. }
  1273. ]
  1274. }
  1275. },
  1276. "/v1/messages": {
  1277. "post": {
  1278. "summary": "Claude 聊天",
  1279. "deprecated": false,
  1280. "description": "Anthropic Claude Messages API 格式的请求。\n需要在请求头中包含 `anthropic-version`。\n",
  1281. "operationId": "createMessage",
  1282. "tags": [
  1283. "Claude格式(Messages)"
  1284. ],
  1285. "parameters": [
  1286. {
  1287. "name": "anthropic-version",
  1288. "in": "header",
  1289. "description": "Anthropic API 版本",
  1290. "required": true,
  1291. "example": "",
  1292. "schema": {
  1293. "type": "string",
  1294. "example": "2023-06-01"
  1295. }
  1296. },
  1297. {
  1298. "name": "x-api-key",
  1299. "in": "header",
  1300. "description": "Anthropic API Key (可选,也可使用 Bearer Token)",
  1301. "required": false,
  1302. "example": "",
  1303. "schema": {
  1304. "type": "string"
  1305. }
  1306. }
  1307. ],
  1308. "requestBody": {
  1309. "content": {
  1310. "application/json": {
  1311. "schema": {
  1312. "$ref": "#/components/schemas/ClaudeRequest"
  1313. },
  1314. "examples": {}
  1315. }
  1316. }
  1317. },
  1318. "responses": {
  1319. "200": {
  1320. "description": "成功创建响应",
  1321. "content": {
  1322. "application/json": {
  1323. "schema": {
  1324. "$ref": "#/components/schemas/ClaudeResponse"
  1325. }
  1326. }
  1327. },
  1328. "headers": {}
  1329. }
  1330. },
  1331. "security": [
  1332. {
  1333. "BearerAuth": []
  1334. }
  1335. ]
  1336. }
  1337. },
  1338. "/v1beta/models/{model}:generateContent": {
  1339. "post": {
  1340. "summary": "Gemini 图片(Nano Banana)",
  1341. "deprecated": false,
  1342. "description": "Gemini 图片生成",
  1343. "operationId": "geminiRelayV1Beta",
  1344. "tags": [
  1345. "Gemini格式"
  1346. ],
  1347. "parameters": [
  1348. {
  1349. "name": "model",
  1350. "in": "path",
  1351. "description": "模型名称",
  1352. "required": true,
  1353. "example": "gemini-3-pro-image-preview",
  1354. "schema": {
  1355. "type": "string"
  1356. }
  1357. }
  1358. ],
  1359. "requestBody": {
  1360. "content": {
  1361. "application/json": {
  1362. "schema": {
  1363. "type": "object",
  1364. "properties": {
  1365. "contents": {
  1366. "type": "array",
  1367. "items": {
  1368. "type": "object",
  1369. "properties": {
  1370. "role": {
  1371. "type": "string"
  1372. },
  1373. "parts": {
  1374. "type": "array",
  1375. "items": {
  1376. "type": "object",
  1377. "properties": {
  1378. "text": {
  1379. "type": "string"
  1380. }
  1381. }
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "generationConfig": {
  1388. "type": "object",
  1389. "properties": {
  1390. "responseModalities": {
  1391. "type": "array",
  1392. "items": {
  1393. "type": "string"
  1394. }
  1395. },
  1396. "imageConfig": {
  1397. "type": "object",
  1398. "properties": {
  1399. "aspectRatio": {
  1400. "type": "string"
  1401. },
  1402. "imageSize": {
  1403. "type": "string"
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "required": [
  1409. "responseModalities"
  1410. ]
  1411. }
  1412. },
  1413. "required": [
  1414. "contents",
  1415. "generationConfig"
  1416. ]
  1417. },
  1418. "example": {
  1419. "contents": [
  1420. {
  1421. "role": "user",
  1422. "parts": [
  1423. {
  1424. "text": "draw a cat"
  1425. }
  1426. ]
  1427. }
  1428. ],
  1429. "generationConfig": {
  1430. "responseModalities": [
  1431. "TEXT",
  1432. "IMAGE"
  1433. ],
  1434. "imageConfig": {
  1435. "aspectRatio": "16:9",
  1436. "imageSize": "4K"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. }
  1442. },
  1443. "responses": {
  1444. "200": {
  1445. "description": "成功",
  1446. "content": {
  1447. "application/json": {
  1448. "schema": {
  1449. "$ref": "#/components/schemas/GeminiResponse"
  1450. }
  1451. }
  1452. },
  1453. "headers": {}
  1454. }
  1455. },
  1456. "security": [
  1457. {
  1458. "BearerAuth": []
  1459. }
  1460. ]
  1461. }
  1462. },
  1463. "/v1/engines/{model}/embeddings": {
  1464. "post": {
  1465. "summary": "Gemini 嵌入(Embeddings)",
  1466. "deprecated": false,
  1467. "description": "使用指定引擎/模型创建嵌入",
  1468. "operationId": "createEngineEmbedding",
  1469. "tags": [
  1470. "Gemini格式"
  1471. ],
  1472. "parameters": [
  1473. {
  1474. "name": "model",
  1475. "in": "path",
  1476. "description": "模型/引擎 ID",
  1477. "required": true,
  1478. "example": "",
  1479. "schema": {
  1480. "type": "string"
  1481. }
  1482. }
  1483. ],
  1484. "requestBody": {
  1485. "content": {
  1486. "application/json": {
  1487. "schema": {
  1488. "$ref": "#/components/schemas/EmbeddingRequest"
  1489. },
  1490. "examples": {}
  1491. }
  1492. }
  1493. },
  1494. "responses": {
  1495. "200": {
  1496. "description": "成功创建嵌入",
  1497. "content": {
  1498. "application/json": {
  1499. "schema": {
  1500. "$ref": "#/components/schemas/EmbeddingResponse"
  1501. }
  1502. }
  1503. },
  1504. "headers": {}
  1505. }
  1506. },
  1507. "security": [
  1508. {
  1509. "BearerAuth": []
  1510. }
  1511. ]
  1512. }
  1513. },
  1514. "/v1/embeddings": {
  1515. "post": {
  1516. "summary": "创建文本嵌入",
  1517. "deprecated": false,
  1518. "description": "将文本转换为向量嵌入",
  1519. "operationId": "createEmbedding",
  1520. "tags": [
  1521. "OpenAI格式(Embeddings)"
  1522. ],
  1523. "parameters": [],
  1524. "requestBody": {
  1525. "content": {
  1526. "application/json": {
  1527. "schema": {
  1528. "$ref": "#/components/schemas/EmbeddingRequest"
  1529. }
  1530. }
  1531. },
  1532. "required": true
  1533. },
  1534. "responses": {
  1535. "200": {
  1536. "description": "成功创建嵌入",
  1537. "content": {
  1538. "application/json": {
  1539. "schema": {
  1540. "$ref": "#/components/schemas/EmbeddingResponse"
  1541. }
  1542. }
  1543. },
  1544. "headers": {}
  1545. }
  1546. },
  1547. "security": [
  1548. {
  1549. "BearerAuth": []
  1550. }
  1551. ]
  1552. }
  1553. },
  1554. "/v1/completions": {
  1555. "post": {
  1556. "summary": "创建文本补全",
  1557. "deprecated": false,
  1558. "description": "基于给定提示创建文本补全",
  1559. "operationId": "createCompletion",
  1560. "tags": [
  1561. "文本补全(Completions)"
  1562. ],
  1563. "parameters": [],
  1564. "requestBody": {
  1565. "content": {
  1566. "application/json": {
  1567. "schema": {
  1568. "$ref": "#/components/schemas/CompletionRequest"
  1569. }
  1570. }
  1571. },
  1572. "required": true
  1573. },
  1574. "responses": {
  1575. "200": {
  1576. "description": "成功创建响应",
  1577. "content": {
  1578. "application/json": {
  1579. "schema": {
  1580. "$ref": "#/components/schemas/CompletionResponse"
  1581. }
  1582. }
  1583. },
  1584. "headers": {}
  1585. }
  1586. },
  1587. "security": [
  1588. {
  1589. "BearerAuth": []
  1590. }
  1591. ]
  1592. }
  1593. },
  1594. "/v1/audio/transcriptions": {
  1595. "post": {
  1596. "summary": "音频转录",
  1597. "deprecated": false,
  1598. "description": "将音频转换为文本",
  1599. "operationId": "createTranscription",
  1600. "tags": [
  1601. "OpenAI音频(Audio)"
  1602. ],
  1603. "parameters": [],
  1604. "requestBody": {
  1605. "content": {
  1606. "multipart/form-data": {
  1607. "schema": {
  1608. "type": "object",
  1609. "properties": {
  1610. "file": {
  1611. "type": "string",
  1612. "format": "binary",
  1613. "description": "音频文件",
  1614. "example": ""
  1615. },
  1616. "model": {
  1617. "type": "string",
  1618. "example": "whisper-1"
  1619. },
  1620. "language": {
  1621. "type": "string",
  1622. "description": "ISO-639-1 语言代码",
  1623. "example": ""
  1624. },
  1625. "prompt": {
  1626. "type": "string",
  1627. "example": ""
  1628. },
  1629. "response_format": {
  1630. "type": "string",
  1631. "enum": [
  1632. "json",
  1633. "text",
  1634. "srt",
  1635. "verbose_json",
  1636. "vtt"
  1637. ],
  1638. "default": "json",
  1639. "example": "json"
  1640. },
  1641. "temperature": {
  1642. "type": "number",
  1643. "example": 0
  1644. },
  1645. "timestamp_granularities": {
  1646. "type": "array",
  1647. "items": {
  1648. "type": "string",
  1649. "enum": [
  1650. "word",
  1651. "segment"
  1652. ]
  1653. },
  1654. "example": ""
  1655. }
  1656. },
  1657. "required": [
  1658. "file",
  1659. "model"
  1660. ]
  1661. }
  1662. }
  1663. },
  1664. "required": true
  1665. },
  1666. "responses": {
  1667. "200": {
  1668. "description": "成功转录",
  1669. "content": {
  1670. "application/json": {
  1671. "schema": {
  1672. "$ref": "#/components/schemas/AudioTranscriptionResponse"
  1673. }
  1674. }
  1675. },
  1676. "headers": {}
  1677. }
  1678. },
  1679. "security": [
  1680. {
  1681. "BearerAuth": []
  1682. }
  1683. ]
  1684. }
  1685. },
  1686. "/v1/audio/translations": {
  1687. "post": {
  1688. "summary": "音频翻译",
  1689. "deprecated": false,
  1690. "description": "将音频翻译为英文文本",
  1691. "operationId": "createTranslation",
  1692. "tags": [
  1693. "OpenAI音频(Audio)"
  1694. ],
  1695. "parameters": [],
  1696. "requestBody": {
  1697. "content": {
  1698. "multipart/form-data": {
  1699. "schema": {
  1700. "type": "object",
  1701. "properties": {
  1702. "file": {
  1703. "type": "string",
  1704. "format": "binary",
  1705. "example": ""
  1706. },
  1707. "model": {
  1708. "type": "string",
  1709. "example": ""
  1710. },
  1711. "prompt": {
  1712. "type": "string",
  1713. "example": ""
  1714. },
  1715. "response_format": {
  1716. "type": "string",
  1717. "example": ""
  1718. },
  1719. "temperature": {
  1720. "type": "number",
  1721. "example": 0
  1722. }
  1723. },
  1724. "required": [
  1725. "file",
  1726. "model"
  1727. ]
  1728. }
  1729. }
  1730. },
  1731. "required": true
  1732. },
  1733. "responses": {
  1734. "200": {
  1735. "description": "成功翻译",
  1736. "content": {
  1737. "application/json": {
  1738. "schema": {
  1739. "$ref": "#/components/schemas/AudioTranscriptionResponse"
  1740. }
  1741. }
  1742. },
  1743. "headers": {}
  1744. }
  1745. },
  1746. "security": [
  1747. {
  1748. "BearerAuth": []
  1749. }
  1750. ]
  1751. }
  1752. },
  1753. "/v1/audio/speech": {
  1754. "post": {
  1755. "summary": "文本转语音",
  1756. "deprecated": false,
  1757. "description": "将文本转换为音频",
  1758. "operationId": "createSpeech",
  1759. "tags": [
  1760. "OpenAI音频(Audio)"
  1761. ],
  1762. "parameters": [],
  1763. "requestBody": {
  1764. "content": {
  1765. "application/json": {
  1766. "schema": {
  1767. "$ref": "#/components/schemas/SpeechRequest"
  1768. }
  1769. }
  1770. },
  1771. "required": true
  1772. },
  1773. "responses": {
  1774. "200": {
  1775. "description": "成功生成音频",
  1776. "content": {
  1777. "audio/mpeg": {
  1778. "schema": {
  1779. "type": "string",
  1780. "format": "binary"
  1781. }
  1782. }
  1783. },
  1784. "headers": {}
  1785. }
  1786. },
  1787. "security": [
  1788. {
  1789. "BearerAuth": []
  1790. }
  1791. ]
  1792. }
  1793. },
  1794. "/v1/rerank": {
  1795. "post": {
  1796. "summary": "文档重排序",
  1797. "deprecated": false,
  1798. "description": "根据查询对文档列表进行相关性重排序",
  1799. "operationId": "createRerank",
  1800. "tags": [
  1801. "重排序(Rerank)"
  1802. ],
  1803. "parameters": [],
  1804. "requestBody": {
  1805. "content": {
  1806. "application/json": {
  1807. "schema": {
  1808. "$ref": "#/components/schemas/RerankRequest"
  1809. }
  1810. }
  1811. },
  1812. "required": true
  1813. },
  1814. "responses": {
  1815. "200": {
  1816. "description": "成功重排序",
  1817. "content": {
  1818. "application/json": {
  1819. "schema": {
  1820. "$ref": "#/components/schemas/RerankResponse"
  1821. }
  1822. }
  1823. },
  1824. "headers": {}
  1825. }
  1826. },
  1827. "security": [
  1828. {
  1829. "BearerAuth": []
  1830. }
  1831. ]
  1832. }
  1833. },
  1834. "/v1/moderations": {
  1835. "post": {
  1836. "summary": "内容审核",
  1837. "deprecated": false,
  1838. "description": "检查文本内容是否违反使用政策",
  1839. "operationId": "createModeration",
  1840. "tags": [
  1841. "Moderations"
  1842. ],
  1843. "parameters": [],
  1844. "requestBody": {
  1845. "content": {
  1846. "application/json": {
  1847. "schema": {
  1848. "$ref": "#/components/schemas/ModerationRequest"
  1849. }
  1850. }
  1851. },
  1852. "required": true
  1853. },
  1854. "responses": {
  1855. "200": {
  1856. "description": "成功审核",
  1857. "content": {
  1858. "application/json": {
  1859. "schema": {
  1860. "$ref": "#/components/schemas/ModerationResponse"
  1861. }
  1862. }
  1863. },
  1864. "headers": {}
  1865. }
  1866. },
  1867. "security": [
  1868. {
  1869. "BearerAuth": []
  1870. }
  1871. ]
  1872. }
  1873. },
  1874. "/v1/realtime": {
  1875. "get": {
  1876. "summary": "实时 WebSocket 连接",
  1877. "deprecated": false,
  1878. "description": "建立 WebSocket 连接用于实时对话。\n\n**注意**: 这是一个 WebSocket 端点,需要使用 WebSocket 协议连接。\n\n连接 URL 示例: `wss://api.example.com/v1/realtime?model=gpt-4o-realtime`\n",
  1879. "operationId": "createRealtimeSession",
  1880. "tags": [
  1881. "Realtime"
  1882. ],
  1883. "parameters": [
  1884. {
  1885. "name": "model",
  1886. "in": "query",
  1887. "description": "要使用的模型",
  1888. "required": false,
  1889. "schema": {
  1890. "type": "string",
  1891. "example": "gpt-4o-realtime-preview"
  1892. }
  1893. }
  1894. ],
  1895. "responses": {
  1896. "101": {
  1897. "description": "WebSocket 协议切换",
  1898. "headers": {}
  1899. },
  1900. "400": {
  1901. "description": "请求错误",
  1902. "content": {
  1903. "application/json": {
  1904. "schema": {
  1905. "$ref": "#/components/schemas/ErrorResponse"
  1906. }
  1907. }
  1908. },
  1909. "headers": {}
  1910. }
  1911. },
  1912. "security": [
  1913. {
  1914. "BearerAuth": []
  1915. }
  1916. ]
  1917. }
  1918. },
  1919. "/v1/fine-tunes": {
  1920. "get": {
  1921. "summary": "列出微调任务 (未实现)",
  1922. "deprecated": false,
  1923. "description": "此接口尚未实现",
  1924. "operationId": "listFineTunes",
  1925. "tags": [
  1926. "未实现/Fine-tunes"
  1927. ],
  1928. "parameters": [],
  1929. "responses": {
  1930. "501": {
  1931. "description": "未实现",
  1932. "content": {
  1933. "application/json": {
  1934. "schema": {
  1935. "$ref": "#/components/schemas/ErrorResponse"
  1936. }
  1937. }
  1938. },
  1939. "headers": {}
  1940. }
  1941. },
  1942. "security": [
  1943. {
  1944. "BearerAuth": []
  1945. }
  1946. ]
  1947. },
  1948. "post": {
  1949. "summary": "创建微调任务 (未实现)",
  1950. "deprecated": false,
  1951. "description": "此接口尚未实现",
  1952. "operationId": "createFineTune",
  1953. "tags": [
  1954. "未实现/Fine-tunes"
  1955. ],
  1956. "parameters": [],
  1957. "requestBody": {
  1958. "content": {
  1959. "application/json": {
  1960. "schema": {
  1961. "type": "object",
  1962. "properties": {}
  1963. }
  1964. }
  1965. }
  1966. },
  1967. "responses": {
  1968. "501": {
  1969. "description": "未实现",
  1970. "content": {
  1971. "application/json": {
  1972. "schema": {
  1973. "$ref": "#/components/schemas/ErrorResponse"
  1974. }
  1975. }
  1976. },
  1977. "headers": {}
  1978. }
  1979. },
  1980. "security": [
  1981. {
  1982. "BearerAuth": []
  1983. }
  1984. ]
  1985. }
  1986. },
  1987. "/v1/fine-tunes/{fine_tune_id}": {
  1988. "get": {
  1989. "summary": "获取微调任务详情 (未实现)",
  1990. "deprecated": false,
  1991. "description": "此接口尚未实现",
  1992. "operationId": "retrieveFineTune",
  1993. "tags": [
  1994. "未实现/Fine-tunes"
  1995. ],
  1996. "parameters": [
  1997. {
  1998. "name": "fine_tune_id",
  1999. "in": "path",
  2000. "description": "",
  2001. "required": true,
  2002. "example": "",
  2003. "schema": {
  2004. "type": "string"
  2005. }
  2006. }
  2007. ],
  2008. "responses": {
  2009. "501": {
  2010. "description": "未实现",
  2011. "content": {
  2012. "application/json": {
  2013. "schema": {
  2014. "$ref": "#/components/schemas/ErrorResponse"
  2015. }
  2016. }
  2017. },
  2018. "headers": {}
  2019. }
  2020. },
  2021. "security": [
  2022. {
  2023. "BearerAuth": []
  2024. }
  2025. ]
  2026. }
  2027. },
  2028. "/v1/fine-tunes/{fine_tune_id}/cancel": {
  2029. "post": {
  2030. "summary": "取消微调任务 (未实现)",
  2031. "deprecated": false,
  2032. "description": "此接口尚未实现",
  2033. "operationId": "cancelFineTune",
  2034. "tags": [
  2035. "未实现/Fine-tunes"
  2036. ],
  2037. "parameters": [
  2038. {
  2039. "name": "fine_tune_id",
  2040. "in": "path",
  2041. "description": "",
  2042. "required": true,
  2043. "example": "",
  2044. "schema": {
  2045. "type": "string"
  2046. }
  2047. }
  2048. ],
  2049. "responses": {
  2050. "501": {
  2051. "description": "未实现",
  2052. "content": {
  2053. "application/json": {
  2054. "schema": {
  2055. "$ref": "#/components/schemas/ErrorResponse"
  2056. }
  2057. }
  2058. },
  2059. "headers": {}
  2060. }
  2061. },
  2062. "security": [
  2063. {
  2064. "BearerAuth": []
  2065. }
  2066. ]
  2067. }
  2068. },
  2069. "/v1/fine-tunes/{fine_tune_id}/events": {
  2070. "get": {
  2071. "summary": "获取微调任务事件 (未实现)",
  2072. "deprecated": false,
  2073. "description": "此接口尚未实现",
  2074. "operationId": "listFineTuneEvents",
  2075. "tags": [
  2076. "未实现/Fine-tunes"
  2077. ],
  2078. "parameters": [
  2079. {
  2080. "name": "fine_tune_id",
  2081. "in": "path",
  2082. "description": "",
  2083. "required": true,
  2084. "example": "",
  2085. "schema": {
  2086. "type": "string"
  2087. }
  2088. }
  2089. ],
  2090. "responses": {
  2091. "501": {
  2092. "description": "未实现",
  2093. "content": {
  2094. "application/json": {
  2095. "schema": {
  2096. "$ref": "#/components/schemas/ErrorResponse"
  2097. }
  2098. }
  2099. },
  2100. "headers": {}
  2101. }
  2102. },
  2103. "security": [
  2104. {
  2105. "BearerAuth": []
  2106. }
  2107. ]
  2108. }
  2109. },
  2110. "/v1/files": {
  2111. "get": {
  2112. "summary": "列出文件 (未实现)",
  2113. "deprecated": false,
  2114. "description": "此接口尚未实现",
  2115. "operationId": "listFiles",
  2116. "tags": [
  2117. "未实现/Files"
  2118. ],
  2119. "parameters": [],
  2120. "responses": {
  2121. "501": {
  2122. "description": "未实现",
  2123. "content": {
  2124. "application/json": {
  2125. "schema": {
  2126. "$ref": "#/components/schemas/ErrorResponse"
  2127. }
  2128. }
  2129. },
  2130. "headers": {}
  2131. }
  2132. },
  2133. "security": [
  2134. {
  2135. "BearerAuth": []
  2136. }
  2137. ]
  2138. },
  2139. "post": {
  2140. "summary": "上传文件 (未实现)",
  2141. "deprecated": false,
  2142. "description": "此接口尚未实现",
  2143. "operationId": "createFile",
  2144. "tags": [
  2145. "未实现/Files"
  2146. ],
  2147. "parameters": [],
  2148. "requestBody": {
  2149. "content": {
  2150. "multipart/form-data": {
  2151. "schema": {
  2152. "type": "object",
  2153. "properties": {
  2154. "file": {
  2155. "type": "string",
  2156. "format": "binary",
  2157. "example": ""
  2158. },
  2159. "purpose": {
  2160. "type": "string",
  2161. "example": ""
  2162. }
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "responses": {
  2169. "501": {
  2170. "description": "未实现",
  2171. "content": {
  2172. "application/json": {
  2173. "schema": {
  2174. "$ref": "#/components/schemas/ErrorResponse"
  2175. }
  2176. }
  2177. },
  2178. "headers": {}
  2179. }
  2180. },
  2181. "security": [
  2182. {
  2183. "BearerAuth": []
  2184. }
  2185. ]
  2186. }
  2187. },
  2188. "/v1/files/{file_id}": {
  2189. "get": {
  2190. "summary": "获取文件信息 (未实现)",
  2191. "deprecated": false,
  2192. "description": "此接口尚未实现",
  2193. "operationId": "retrieveFile",
  2194. "tags": [
  2195. "未实现/Files"
  2196. ],
  2197. "parameters": [
  2198. {
  2199. "name": "file_id",
  2200. "in": "path",
  2201. "description": "",
  2202. "required": true,
  2203. "example": "",
  2204. "schema": {
  2205. "type": "string"
  2206. }
  2207. }
  2208. ],
  2209. "responses": {
  2210. "501": {
  2211. "description": "未实现",
  2212. "content": {
  2213. "application/json": {
  2214. "schema": {
  2215. "$ref": "#/components/schemas/ErrorResponse"
  2216. }
  2217. }
  2218. },
  2219. "headers": {}
  2220. }
  2221. },
  2222. "security": [
  2223. {
  2224. "BearerAuth": []
  2225. }
  2226. ]
  2227. },
  2228. "delete": {
  2229. "summary": "删除文件 (未实现)",
  2230. "deprecated": false,
  2231. "description": "此接口尚未实现",
  2232. "operationId": "deleteFile",
  2233. "tags": [
  2234. "未实现/Files"
  2235. ],
  2236. "parameters": [
  2237. {
  2238. "name": "file_id",
  2239. "in": "path",
  2240. "description": "",
  2241. "required": true,
  2242. "example": "",
  2243. "schema": {
  2244. "type": "string"
  2245. }
  2246. }
  2247. ],
  2248. "responses": {
  2249. "501": {
  2250. "description": "未实现",
  2251. "content": {
  2252. "application/json": {
  2253. "schema": {
  2254. "$ref": "#/components/schemas/ErrorResponse"
  2255. }
  2256. }
  2257. },
  2258. "headers": {}
  2259. }
  2260. },
  2261. "security": [
  2262. {
  2263. "BearerAuth": []
  2264. }
  2265. ]
  2266. }
  2267. },
  2268. "/v1/files/{file_id}/content": {
  2269. "get": {
  2270. "summary": "获取文件内容 (未实现)",
  2271. "deprecated": false,
  2272. "description": "此接口尚未实现",
  2273. "operationId": "downloadFile",
  2274. "tags": [
  2275. "未实现/Files"
  2276. ],
  2277. "parameters": [
  2278. {
  2279. "name": "file_id",
  2280. "in": "path",
  2281. "description": "",
  2282. "required": true,
  2283. "example": "",
  2284. "schema": {
  2285. "type": "string"
  2286. }
  2287. }
  2288. ],
  2289. "responses": {
  2290. "501": {
  2291. "description": "未实现",
  2292. "content": {
  2293. "application/json": {
  2294. "schema": {
  2295. "$ref": "#/components/schemas/ErrorResponse"
  2296. }
  2297. }
  2298. },
  2299. "headers": {}
  2300. }
  2301. },
  2302. "security": [
  2303. {
  2304. "BearerAuth": []
  2305. }
  2306. ]
  2307. }
  2308. }
  2309. },
  2310. "components": {
  2311. "schemas": {
  2312. "ErrorResponse": {
  2313. "type": "object",
  2314. "properties": {
  2315. "error": {
  2316. "type": "object",
  2317. "properties": {
  2318. "message": {
  2319. "type": "string",
  2320. "description": "错误信息"
  2321. },
  2322. "type": {
  2323. "type": "string",
  2324. "description": "错误类型"
  2325. },
  2326. "param": {
  2327. "type": "string",
  2328. "description": "相关参数",
  2329. "nullable": true
  2330. },
  2331. "code": {
  2332. "type": "string",
  2333. "description": "错误代码",
  2334. "nullable": true
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "Usage": {
  2341. "type": "object",
  2342. "properties": {
  2343. "prompt_tokens": {
  2344. "type": "integer",
  2345. "description": "提示词 Token 数"
  2346. },
  2347. "completion_tokens": {
  2348. "type": "integer",
  2349. "description": "补全 Token 数"
  2350. },
  2351. "total_tokens": {
  2352. "type": "integer",
  2353. "description": "总 Token 数"
  2354. },
  2355. "prompt_tokens_details": {
  2356. "type": "object",
  2357. "properties": {
  2358. "cached_tokens": {
  2359. "type": "integer"
  2360. },
  2361. "text_tokens": {
  2362. "type": "integer"
  2363. },
  2364. "audio_tokens": {
  2365. "type": "integer"
  2366. },
  2367. "image_tokens": {
  2368. "type": "integer"
  2369. }
  2370. }
  2371. },
  2372. "completion_tokens_details": {
  2373. "type": "object",
  2374. "properties": {
  2375. "text_tokens": {
  2376. "type": "integer"
  2377. },
  2378. "audio_tokens": {
  2379. "type": "integer"
  2380. },
  2381. "reasoning_tokens": {
  2382. "type": "integer"
  2383. }
  2384. }
  2385. }
  2386. }
  2387. },
  2388. "Model": {
  2389. "type": "object",
  2390. "properties": {
  2391. "id": {
  2392. "type": "string",
  2393. "description": "模型 ID",
  2394. "example": "gpt-4"
  2395. },
  2396. "object": {
  2397. "type": "string",
  2398. "description": "对象类型",
  2399. "example": "model"
  2400. },
  2401. "created": {
  2402. "type": "integer",
  2403. "description": "创建时间戳"
  2404. },
  2405. "owned_by": {
  2406. "type": "string",
  2407. "description": "模型所有者",
  2408. "example": "openai"
  2409. }
  2410. }
  2411. },
  2412. "ModelsResponse": {
  2413. "type": "object",
  2414. "properties": {
  2415. "object": {
  2416. "type": "string",
  2417. "example": "list"
  2418. },
  2419. "data": {
  2420. "type": "array",
  2421. "items": {
  2422. "$ref": "#/components/schemas/Model"
  2423. }
  2424. }
  2425. }
  2426. },
  2427. "GeminiModelsResponse": {
  2428. "type": "object",
  2429. "properties": {
  2430. "models": {
  2431. "type": "array",
  2432. "items": {
  2433. "type": "object",
  2434. "properties": {
  2435. "name": {
  2436. "type": "string",
  2437. "example": "models/gemini-pro"
  2438. },
  2439. "version": {
  2440. "type": "string"
  2441. },
  2442. "displayName": {
  2443. "type": "string"
  2444. },
  2445. "description": {
  2446. "type": "string"
  2447. },
  2448. "inputTokenLimit": {
  2449. "type": "integer"
  2450. },
  2451. "outputTokenLimit": {
  2452. "type": "integer"
  2453. },
  2454. "supportedGenerationMethods": {
  2455. "type": "array",
  2456. "items": {
  2457. "type": "string"
  2458. }
  2459. }
  2460. }
  2461. }
  2462. }
  2463. }
  2464. },
  2465. "Message": {
  2466. "type": "object",
  2467. "required": [
  2468. "role",
  2469. "content"
  2470. ],
  2471. "properties": {
  2472. "role": {
  2473. "type": "string",
  2474. "enum": [
  2475. "system",
  2476. "user",
  2477. "assistant",
  2478. "tool",
  2479. "developer"
  2480. ],
  2481. "description": "消息角色"
  2482. },
  2483. "content": {
  2484. "oneOf": [
  2485. {
  2486. "type": "string"
  2487. },
  2488. {
  2489. "type": "array",
  2490. "items": {
  2491. "$ref": "#/components/schemas/MessageContent"
  2492. }
  2493. }
  2494. ],
  2495. "description": "消息内容"
  2496. },
  2497. "name": {
  2498. "type": "string",
  2499. "description": "发送者名称"
  2500. },
  2501. "tool_calls": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/components/schemas/ToolCall"
  2505. }
  2506. },
  2507. "tool_call_id": {
  2508. "type": "string",
  2509. "description": "工具调用 ID(用于 tool 角色消息)"
  2510. },
  2511. "reasoning_content": {
  2512. "type": "string",
  2513. "description": "推理内容"
  2514. }
  2515. }
  2516. },
  2517. "MessageContent": {
  2518. "type": "object",
  2519. "properties": {
  2520. "type": {
  2521. "type": "string",
  2522. "enum": [
  2523. "text",
  2524. "image_url",
  2525. "input_audio",
  2526. "file",
  2527. "video_url"
  2528. ]
  2529. },
  2530. "text": {
  2531. "type": "string"
  2532. },
  2533. "image_url": {
  2534. "type": "object",
  2535. "properties": {
  2536. "url": {
  2537. "type": "string",
  2538. "description": "图片 URL 或 base64"
  2539. },
  2540. "detail": {
  2541. "type": "string",
  2542. "enum": [
  2543. "low",
  2544. "high",
  2545. "auto"
  2546. ]
  2547. }
  2548. }
  2549. },
  2550. "input_audio": {
  2551. "type": "object",
  2552. "properties": {
  2553. "data": {
  2554. "type": "string",
  2555. "description": "Base64 编码的音频数据"
  2556. },
  2557. "format": {
  2558. "type": "string",
  2559. "enum": [
  2560. "wav",
  2561. "mp3"
  2562. ]
  2563. }
  2564. }
  2565. },
  2566. "file": {
  2567. "type": "object",
  2568. "properties": {
  2569. "filename": {
  2570. "type": "string"
  2571. },
  2572. "file_data": {
  2573. "type": "string"
  2574. },
  2575. "file_id": {
  2576. "type": "string"
  2577. }
  2578. }
  2579. },
  2580. "video_url": {
  2581. "type": "object",
  2582. "properties": {
  2583. "url": {
  2584. "type": "string"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "ToolCall": {
  2591. "type": "object",
  2592. "properties": {
  2593. "id": {
  2594. "type": "string"
  2595. },
  2596. "type": {
  2597. "type": "string",
  2598. "example": "function"
  2599. },
  2600. "function": {
  2601. "type": "object",
  2602. "properties": {
  2603. "name": {
  2604. "type": "string"
  2605. },
  2606. "arguments": {
  2607. "type": "string"
  2608. }
  2609. }
  2610. }
  2611. }
  2612. },
  2613. "Tool": {
  2614. "type": "object",
  2615. "properties": {
  2616. "type": {
  2617. "type": "string",
  2618. "example": "function"
  2619. },
  2620. "function": {
  2621. "type": "object",
  2622. "properties": {
  2623. "name": {
  2624. "type": "string"
  2625. },
  2626. "description": {
  2627. "type": "string"
  2628. },
  2629. "parameters": {
  2630. "type": "object",
  2631. "description": "JSON Schema 格式的参数定义",
  2632. "properties": {}
  2633. }
  2634. }
  2635. }
  2636. }
  2637. },
  2638. "ResponseFormat": {
  2639. "type": "object",
  2640. "properties": {
  2641. "type": {
  2642. "type": "string",
  2643. "enum": [
  2644. "text",
  2645. "json_object",
  2646. "json_schema"
  2647. ]
  2648. },
  2649. "json_schema": {
  2650. "type": "object",
  2651. "description": "JSON Schema 定义",
  2652. "properties": {}
  2653. }
  2654. }
  2655. },
  2656. "ChatCompletionRequest": {
  2657. "type": "object",
  2658. "required": [
  2659. "model",
  2660. "messages"
  2661. ],
  2662. "properties": {
  2663. "model": {
  2664. "type": "string",
  2665. "description": "模型 ID",
  2666. "example": "gpt-4"
  2667. },
  2668. "messages": {
  2669. "type": "array",
  2670. "items": {
  2671. "$ref": "#/components/schemas/Message"
  2672. },
  2673. "description": "对话消息列表"
  2674. },
  2675. "temperature": {
  2676. "type": "number",
  2677. "minimum": 0,
  2678. "maximum": 2,
  2679. "default": 1,
  2680. "description": "采样温度"
  2681. },
  2682. "top_p": {
  2683. "type": "number",
  2684. "minimum": 0,
  2685. "maximum": 1,
  2686. "default": 1,
  2687. "description": "核采样参数"
  2688. },
  2689. "n": {
  2690. "type": "integer",
  2691. "minimum": 1,
  2692. "default": 1,
  2693. "description": "生成数量"
  2694. },
  2695. "stream": {
  2696. "type": "boolean",
  2697. "default": false,
  2698. "description": "是否流式响应"
  2699. },
  2700. "stream_options": {
  2701. "type": "object",
  2702. "properties": {
  2703. "include_usage": {
  2704. "type": "boolean"
  2705. }
  2706. }
  2707. },
  2708. "stop": {
  2709. "oneOf": [
  2710. {
  2711. "type": "string"
  2712. },
  2713. {
  2714. "type": "array",
  2715. "items": {
  2716. "type": "string"
  2717. }
  2718. }
  2719. ],
  2720. "description": "停止序列"
  2721. },
  2722. "max_tokens": {
  2723. "type": "integer",
  2724. "description": "最大生成 Token 数"
  2725. },
  2726. "max_completion_tokens": {
  2727. "type": "integer",
  2728. "description": "最大补全 Token 数"
  2729. },
  2730. "presence_penalty": {
  2731. "type": "number",
  2732. "minimum": -2,
  2733. "maximum": 2,
  2734. "default": 0
  2735. },
  2736. "frequency_penalty": {
  2737. "type": "number",
  2738. "minimum": -2,
  2739. "maximum": 2,
  2740. "default": 0
  2741. },
  2742. "logit_bias": {
  2743. "type": "object",
  2744. "additionalProperties": {
  2745. "type": "number"
  2746. },
  2747. "properties": {}
  2748. },
  2749. "user": {
  2750. "type": "string"
  2751. },
  2752. "tools": {
  2753. "type": "array",
  2754. "items": {
  2755. "$ref": "#/components/schemas/Tool"
  2756. }
  2757. },
  2758. "tool_choice": {
  2759. "oneOf": [
  2760. {
  2761. "type": "string",
  2762. "enum": [
  2763. "none",
  2764. "auto",
  2765. "required"
  2766. ]
  2767. },
  2768. {
  2769. "type": "object",
  2770. "properties": {
  2771. "type": {
  2772. "type": "string"
  2773. },
  2774. "function": {
  2775. "type": "object",
  2776. "properties": {
  2777. "name": {
  2778. "type": "string"
  2779. }
  2780. }
  2781. }
  2782. }
  2783. }
  2784. ]
  2785. },
  2786. "response_format": {
  2787. "$ref": "#/components/schemas/ResponseFormat"
  2788. },
  2789. "seed": {
  2790. "type": "integer"
  2791. },
  2792. "reasoning_effort": {
  2793. "type": "string",
  2794. "enum": [
  2795. "low",
  2796. "medium",
  2797. "high"
  2798. ],
  2799. "description": "推理强度 (用于支持推理的模型)"
  2800. },
  2801. "modalities": {
  2802. "type": "array",
  2803. "items": {
  2804. "type": "string",
  2805. "enum": [
  2806. "text",
  2807. "audio"
  2808. ]
  2809. }
  2810. },
  2811. "audio": {
  2812. "type": "object",
  2813. "properties": {
  2814. "voice": {
  2815. "type": "string"
  2816. },
  2817. "format": {
  2818. "type": "string"
  2819. }
  2820. }
  2821. }
  2822. }
  2823. },
  2824. "ChatCompletionResponse": {
  2825. "type": "object",
  2826. "properties": {
  2827. "id": {
  2828. "type": "string"
  2829. },
  2830. "object": {
  2831. "type": "string",
  2832. "example": "chat.completion"
  2833. },
  2834. "created": {
  2835. "type": "integer"
  2836. },
  2837. "model": {
  2838. "type": "string"
  2839. },
  2840. "choices": {
  2841. "type": "array",
  2842. "items": {
  2843. "type": "object",
  2844. "properties": {
  2845. "index": {
  2846. "type": "integer"
  2847. },
  2848. "message": {
  2849. "$ref": "#/components/schemas/Message"
  2850. },
  2851. "finish_reason": {
  2852. "type": "string",
  2853. "enum": [
  2854. "stop",
  2855. "length",
  2856. "tool_calls",
  2857. "content_filter"
  2858. ]
  2859. }
  2860. }
  2861. }
  2862. },
  2863. "usage": {
  2864. "$ref": "#/components/schemas/Usage"
  2865. },
  2866. "system_fingerprint": {
  2867. "type": "string"
  2868. }
  2869. }
  2870. },
  2871. "ChatCompletionStreamResponse": {
  2872. "type": "object",
  2873. "properties": {
  2874. "id": {
  2875. "type": "string"
  2876. },
  2877. "object": {
  2878. "type": "string",
  2879. "example": "chat.completion.chunk"
  2880. },
  2881. "created": {
  2882. "type": "integer"
  2883. },
  2884. "model": {
  2885. "type": "string"
  2886. },
  2887. "choices": {
  2888. "type": "array",
  2889. "items": {
  2890. "type": "object",
  2891. "properties": {
  2892. "index": {
  2893. "type": "integer"
  2894. },
  2895. "delta": {
  2896. "type": "object",
  2897. "properties": {
  2898. "role": {
  2899. "type": "string"
  2900. },
  2901. "content": {
  2902. "type": "string"
  2903. },
  2904. "reasoning_content": {
  2905. "type": "string"
  2906. },
  2907. "tool_calls": {
  2908. "type": "array",
  2909. "items": {
  2910. "$ref": "#/components/schemas/ToolCall"
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "finish_reason": {
  2916. "type": "string",
  2917. "nullable": true
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "usage": {
  2923. "$ref": "#/components/schemas/Usage"
  2924. }
  2925. }
  2926. },
  2927. "CompletionRequest": {
  2928. "type": "object",
  2929. "required": [
  2930. "model",
  2931. "prompt"
  2932. ],
  2933. "properties": {
  2934. "model": {
  2935. "type": "string"
  2936. },
  2937. "prompt": {
  2938. "oneOf": [
  2939. {
  2940. "type": "string"
  2941. },
  2942. {
  2943. "type": "array",
  2944. "items": {
  2945. "type": "string"
  2946. }
  2947. }
  2948. ]
  2949. },
  2950. "max_tokens": {
  2951. "type": "integer"
  2952. },
  2953. "temperature": {
  2954. "type": "number"
  2955. },
  2956. "top_p": {
  2957. "type": "number"
  2958. },
  2959. "n": {
  2960. "type": "integer"
  2961. },
  2962. "stream": {
  2963. "type": "boolean"
  2964. },
  2965. "stop": {
  2966. "oneOf": [
  2967. {
  2968. "type": "string"
  2969. },
  2970. {
  2971. "type": "array",
  2972. "items": {
  2973. "type": "string"
  2974. }
  2975. }
  2976. ]
  2977. },
  2978. "suffix": {
  2979. "type": "string"
  2980. },
  2981. "echo": {
  2982. "type": "boolean"
  2983. }
  2984. }
  2985. },
  2986. "CompletionResponse": {
  2987. "type": "object",
  2988. "properties": {
  2989. "id": {
  2990. "type": "string"
  2991. },
  2992. "object": {
  2993. "type": "string",
  2994. "example": "text_completion"
  2995. },
  2996. "created": {
  2997. "type": "integer"
  2998. },
  2999. "model": {
  3000. "type": "string"
  3001. },
  3002. "choices": {
  3003. "type": "array",
  3004. "items": {
  3005. "type": "object",
  3006. "properties": {
  3007. "text": {
  3008. "type": "string"
  3009. },
  3010. "index": {
  3011. "type": "integer"
  3012. },
  3013. "finish_reason": {
  3014. "type": "string"
  3015. }
  3016. }
  3017. }
  3018. },
  3019. "usage": {
  3020. "$ref": "#/components/schemas/Usage"
  3021. }
  3022. }
  3023. },
  3024. "ResponsesRequest": {
  3025. "type": "object",
  3026. "required": [
  3027. "model"
  3028. ],
  3029. "properties": {
  3030. "model": {
  3031. "type": "string"
  3032. },
  3033. "input": {
  3034. "description": "输入内容,可以是字符串或消息数组",
  3035. "oneOf": [
  3036. {
  3037. "type": "string"
  3038. },
  3039. {
  3040. "type": "array",
  3041. "items": {
  3042. "type": "object",
  3043. "properties": {}
  3044. }
  3045. }
  3046. ]
  3047. },
  3048. "instructions": {
  3049. "type": "string"
  3050. },
  3051. "max_output_tokens": {
  3052. "type": "integer"
  3053. },
  3054. "temperature": {
  3055. "type": "number"
  3056. },
  3057. "top_p": {
  3058. "type": "number"
  3059. },
  3060. "stream": {
  3061. "type": "boolean"
  3062. },
  3063. "tools": {
  3064. "type": "array",
  3065. "items": {
  3066. "type": "object",
  3067. "properties": {}
  3068. }
  3069. },
  3070. "tool_choice": {
  3071. "oneOf": [
  3072. {
  3073. "type": "string"
  3074. },
  3075. {
  3076. "type": "object",
  3077. "properties": {}
  3078. }
  3079. ]
  3080. },
  3081. "reasoning": {
  3082. "type": "object",
  3083. "properties": {
  3084. "effort": {
  3085. "type": "string",
  3086. "enum": [
  3087. "low",
  3088. "medium",
  3089. "high"
  3090. ]
  3091. },
  3092. "summary": {
  3093. "type": "string"
  3094. }
  3095. }
  3096. },
  3097. "previous_response_id": {
  3098. "type": "string"
  3099. },
  3100. "truncation": {
  3101. "type": "string",
  3102. "enum": [
  3103. "auto",
  3104. "disabled"
  3105. ]
  3106. }
  3107. }
  3108. },
  3109. "ResponsesResponse": {
  3110. "type": "object",
  3111. "properties": {
  3112. "id": {
  3113. "type": "string"
  3114. },
  3115. "object": {
  3116. "type": "string",
  3117. "example": "response"
  3118. },
  3119. "created_at": {
  3120. "type": "integer"
  3121. },
  3122. "status": {
  3123. "type": "string",
  3124. "enum": [
  3125. "completed",
  3126. "failed",
  3127. "in_progress",
  3128. "incomplete"
  3129. ]
  3130. },
  3131. "model": {
  3132. "type": "string"
  3133. },
  3134. "output": {
  3135. "type": "array",
  3136. "items": {
  3137. "type": "object",
  3138. "properties": {
  3139. "type": {
  3140. "type": "string"
  3141. },
  3142. "id": {
  3143. "type": "string"
  3144. },
  3145. "status": {
  3146. "type": "string"
  3147. },
  3148. "role": {
  3149. "type": "string"
  3150. },
  3151. "content": {
  3152. "type": "array",
  3153. "items": {
  3154. "type": "object",
  3155. "properties": {
  3156. "type": {
  3157. "type": "string"
  3158. },
  3159. "text": {
  3160. "type": "string"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. }
  3166. }
  3167. },
  3168. "usage": {
  3169. "$ref": "#/components/schemas/Usage"
  3170. }
  3171. }
  3172. },
  3173. "ResponsesCompactionResponse": {
  3174. "type": "object",
  3175. "properties": {
  3176. "id": {
  3177. "type": "string"
  3178. },
  3179. "object": {
  3180. "type": "string",
  3181. "example": "response.compaction"
  3182. },
  3183. "created_at": {
  3184. "type": "integer"
  3185. },
  3186. "output": {
  3187. "type": "array",
  3188. "items": {
  3189. "type": "object",
  3190. "properties": {}
  3191. }
  3192. },
  3193. "usage": {
  3194. "$ref": "#/components/schemas/Usage"
  3195. },
  3196. "error": {
  3197. "type": "object",
  3198. "properties": {}
  3199. }
  3200. }
  3201. },
  3202. "ResponsesCompactionRequest": {
  3203. "type": "object",
  3204. "required": [
  3205. "model"
  3206. ],
  3207. "properties": {
  3208. "model": {
  3209. "type": "string"
  3210. },
  3211. "input": {
  3212. "description": "输入内容,可以是字符串或消息数组",
  3213. "oneOf": [
  3214. {
  3215. "type": "string"
  3216. },
  3217. {
  3218. "type": "array",
  3219. "items": {
  3220. "type": "object",
  3221. "properties": {}
  3222. }
  3223. }
  3224. ]
  3225. },
  3226. "instructions": {
  3227. "type": "string"
  3228. },
  3229. "previous_response_id": {
  3230. "type": "string"
  3231. }
  3232. }
  3233. },
  3234. "ResponsesStreamResponse": {
  3235. "type": "object",
  3236. "properties": {
  3237. "type": {
  3238. "type": "string"
  3239. },
  3240. "response": {
  3241. "$ref": "#/components/schemas/ResponsesResponse"
  3242. },
  3243. "delta": {
  3244. "type": "string"
  3245. },
  3246. "item": {
  3247. "type": "object",
  3248. "properties": {}
  3249. }
  3250. }
  3251. },
  3252. "ClaudeRequest": {
  3253. "type": "object",
  3254. "required": [
  3255. "model",
  3256. "messages",
  3257. "max_tokens"
  3258. ],
  3259. "properties": {
  3260. "model": {
  3261. "type": "string",
  3262. "example": "claude-3-opus-20240229"
  3263. },
  3264. "messages": {
  3265. "type": "array",
  3266. "items": {
  3267. "$ref": "#/components/schemas/ClaudeMessage"
  3268. }
  3269. },
  3270. "system": {
  3271. "oneOf": [
  3272. {
  3273. "type": "string"
  3274. },
  3275. {
  3276. "type": "array",
  3277. "items": {
  3278. "type": "object",
  3279. "properties": {}
  3280. }
  3281. }
  3282. ]
  3283. },
  3284. "cache_control": {
  3285. "type": "object",
  3286. "properties": {}
  3287. },
  3288. "inference_geo": {
  3289. "type": "string"
  3290. },
  3291. "max_tokens": {
  3292. "type": "integer",
  3293. "minimum": 1
  3294. },
  3295. "temperature": {
  3296. "type": "number",
  3297. "minimum": 0,
  3298. "maximum": 1
  3299. },
  3300. "top_p": {
  3301. "type": "number"
  3302. },
  3303. "top_k": {
  3304. "type": "integer"
  3305. },
  3306. "stream": {
  3307. "type": "boolean"
  3308. },
  3309. "stop_sequences": {
  3310. "type": "array",
  3311. "items": {
  3312. "type": "string"
  3313. }
  3314. },
  3315. "tools": {
  3316. "type": "array",
  3317. "items": {
  3318. "type": "object",
  3319. "properties": {
  3320. "name": {
  3321. "type": "string"
  3322. },
  3323. "description": {
  3324. "type": "string"
  3325. },
  3326. "input_schema": {
  3327. "type": "object",
  3328. "properties": {}
  3329. }
  3330. }
  3331. }
  3332. },
  3333. "tool_choice": {
  3334. "oneOf": [
  3335. {
  3336. "type": "object",
  3337. "properties": {
  3338. "type": {
  3339. "type": "string",
  3340. "enum": [
  3341. "auto",
  3342. "any",
  3343. "tool",
  3344. "none"
  3345. ]
  3346. },
  3347. "name": {
  3348. "type": "string"
  3349. }
  3350. }
  3351. }
  3352. ]
  3353. },
  3354. "thinking": {
  3355. "type": "object",
  3356. "properties": {
  3357. "type": {
  3358. "type": "string",
  3359. "enum": [
  3360. "enabled",
  3361. "disabled"
  3362. ]
  3363. },
  3364. "budget_tokens": {
  3365. "type": "integer"
  3366. }
  3367. }
  3368. },
  3369. "context_management": {
  3370. "type": "object",
  3371. "properties": {}
  3372. },
  3373. "output_config": {
  3374. "type": "object",
  3375. "properties": {}
  3376. },
  3377. "output_format": {
  3378. "type": "object",
  3379. "properties": {}
  3380. },
  3381. "container": {
  3382. "oneOf": [
  3383. {
  3384. "type": "string"
  3385. },
  3386. {
  3387. "type": "object",
  3388. "properties": {}
  3389. }
  3390. ]
  3391. },
  3392. "mcp_servers": {
  3393. "type": "array",
  3394. "items": {
  3395. "type": "object",
  3396. "properties": {}
  3397. }
  3398. },
  3399. "metadata": {
  3400. "type": "object",
  3401. "properties": {
  3402. "user_id": {
  3403. "type": "string"
  3404. }
  3405. }
  3406. },
  3407. "speed": {
  3408. "type": "string",
  3409. "enum": [
  3410. "standard",
  3411. "fast"
  3412. ]
  3413. },
  3414. "service_tier": {
  3415. "type": "string",
  3416. "enum": [
  3417. "auto",
  3418. "standard_only"
  3419. ]
  3420. }
  3421. }
  3422. },
  3423. "ClaudeMessage": {
  3424. "type": "object",
  3425. "required": [
  3426. "role",
  3427. "content"
  3428. ],
  3429. "properties": {
  3430. "role": {
  3431. "type": "string",
  3432. "enum": [
  3433. "user",
  3434. "assistant"
  3435. ]
  3436. },
  3437. "content": {
  3438. "oneOf": [
  3439. {
  3440. "type": "string"
  3441. },
  3442. {
  3443. "type": "array",
  3444. "items": {
  3445. "type": "object",
  3446. "properties": {
  3447. "type": {
  3448. "type": "string",
  3449. "enum": [
  3450. "text",
  3451. "image",
  3452. "tool_use",
  3453. "tool_result"
  3454. ]
  3455. },
  3456. "text": {
  3457. "type": "string"
  3458. },
  3459. "source": {
  3460. "type": "object",
  3461. "properties": {
  3462. "type": {
  3463. "type": "string",
  3464. "enum": [
  3465. "base64",
  3466. "url"
  3467. ]
  3468. },
  3469. "media_type": {
  3470. "type": "string"
  3471. },
  3472. "data": {
  3473. "type": "string"
  3474. },
  3475. "url": {
  3476. "type": "string"
  3477. }
  3478. }
  3479. },
  3480. "id": {
  3481. "type": "string"
  3482. },
  3483. "name": {
  3484. "type": "string"
  3485. },
  3486. "input": {
  3487. "type": "object",
  3488. "properties": {}
  3489. },
  3490. "tool_use_id": {
  3491. "type": "string"
  3492. },
  3493. "content": {
  3494. "type": "string"
  3495. }
  3496. }
  3497. }
  3498. }
  3499. ]
  3500. }
  3501. }
  3502. },
  3503. "ClaudeResponse": {
  3504. "type": "object",
  3505. "properties": {
  3506. "id": {
  3507. "type": "string"
  3508. },
  3509. "type": {
  3510. "type": "string",
  3511. "example": "message"
  3512. },
  3513. "role": {
  3514. "type": "string",
  3515. "example": "assistant"
  3516. },
  3517. "content": {
  3518. "type": "array",
  3519. "items": {
  3520. "type": "object",
  3521. "properties": {
  3522. "type": {
  3523. "type": "string"
  3524. },
  3525. "text": {
  3526. "type": "string"
  3527. }
  3528. }
  3529. }
  3530. },
  3531. "model": {
  3532. "type": "string"
  3533. },
  3534. "stop_reason": {
  3535. "type": "string",
  3536. "enum": [
  3537. "end_turn",
  3538. "max_tokens",
  3539. "stop_sequence",
  3540. "tool_use"
  3541. ]
  3542. },
  3543. "usage": {
  3544. "type": "object",
  3545. "properties": {
  3546. "input_tokens": {
  3547. "type": "integer"
  3548. },
  3549. "output_tokens": {
  3550. "type": "integer"
  3551. },
  3552. "cache_creation_input_tokens": {
  3553. "type": "integer"
  3554. },
  3555. "cache_read_input_tokens": {
  3556. "type": "integer"
  3557. }
  3558. }
  3559. }
  3560. }
  3561. },
  3562. "EmbeddingRequest": {
  3563. "type": "object",
  3564. "required": [
  3565. "model",
  3566. "input"
  3567. ],
  3568. "properties": {
  3569. "model": {
  3570. "type": "string",
  3571. "example": "text-embedding-ada-002"
  3572. },
  3573. "input": {
  3574. "oneOf": [
  3575. {
  3576. "type": "string"
  3577. },
  3578. {
  3579. "type": "array",
  3580. "items": {
  3581. "type": "string"
  3582. }
  3583. }
  3584. ],
  3585. "description": "要嵌入的文本"
  3586. },
  3587. "encoding_format": {
  3588. "type": "string",
  3589. "enum": [
  3590. "float",
  3591. "base64"
  3592. ],
  3593. "default": "float"
  3594. },
  3595. "dimensions": {
  3596. "type": "integer",
  3597. "description": "输出向量维度"
  3598. }
  3599. }
  3600. },
  3601. "EmbeddingResponse": {
  3602. "type": "object",
  3603. "properties": {
  3604. "object": {
  3605. "type": "string",
  3606. "example": "list"
  3607. },
  3608. "data": {
  3609. "type": "array",
  3610. "items": {
  3611. "type": "object",
  3612. "properties": {
  3613. "object": {
  3614. "type": "string",
  3615. "example": "embedding"
  3616. },
  3617. "index": {
  3618. "type": "integer"
  3619. },
  3620. "embedding": {
  3621. "type": "array",
  3622. "items": {
  3623. "type": "number"
  3624. }
  3625. }
  3626. }
  3627. }
  3628. },
  3629. "model": {
  3630. "type": "string"
  3631. },
  3632. "usage": {
  3633. "type": "object",
  3634. "properties": {
  3635. "prompt_tokens": {
  3636. "type": "integer"
  3637. },
  3638. "total_tokens": {
  3639. "type": "integer"
  3640. }
  3641. }
  3642. }
  3643. }
  3644. },
  3645. "ImageGenerationRequest": {
  3646. "type": "object",
  3647. "required": [
  3648. "prompt"
  3649. ],
  3650. "properties": {
  3651. "model": {
  3652. "type": "string",
  3653. "example": "dall-e-3"
  3654. },
  3655. "prompt": {
  3656. "type": "string",
  3657. "description": "图像描述"
  3658. },
  3659. "n": {
  3660. "type": "integer",
  3661. "minimum": 1,
  3662. "maximum": 10,
  3663. "default": 1
  3664. },
  3665. "size": {
  3666. "type": "string",
  3667. "enum": [
  3668. "256x256",
  3669. "512x512",
  3670. "1024x1024",
  3671. "1792x1024",
  3672. "1024x1792"
  3673. ],
  3674. "default": "1024x1024"
  3675. },
  3676. "quality": {
  3677. "type": "string",
  3678. "enum": [
  3679. "standard",
  3680. "hd"
  3681. ],
  3682. "default": "standard"
  3683. },
  3684. "style": {
  3685. "type": "string",
  3686. "enum": [
  3687. "vivid",
  3688. "natural"
  3689. ],
  3690. "default": "vivid"
  3691. },
  3692. "response_format": {
  3693. "type": "string",
  3694. "enum": [
  3695. "url",
  3696. "b64_json"
  3697. ],
  3698. "default": "url"
  3699. },
  3700. "user": {
  3701. "type": "string"
  3702. }
  3703. }
  3704. },
  3705. "ImageEditRequest": {
  3706. "type": "object",
  3707. "required": [
  3708. "image",
  3709. "prompt"
  3710. ],
  3711. "properties": {
  3712. "image": {
  3713. "type": "string",
  3714. "format": "binary"
  3715. },
  3716. "mask": {
  3717. "type": "string",
  3718. "format": "binary"
  3719. },
  3720. "prompt": {
  3721. "type": "string"
  3722. },
  3723. "model": {
  3724. "type": "string"
  3725. },
  3726. "n": {
  3727. "type": "integer"
  3728. },
  3729. "size": {
  3730. "type": "string"
  3731. },
  3732. "response_format": {
  3733. "type": "string"
  3734. }
  3735. }
  3736. },
  3737. "ImageResponse": {
  3738. "type": "object",
  3739. "properties": {
  3740. "created": {
  3741. "type": "integer"
  3742. },
  3743. "data": {
  3744. "type": "array",
  3745. "items": {
  3746. "type": "object",
  3747. "properties": {
  3748. "url": {
  3749. "type": "string"
  3750. },
  3751. "b64_json": {
  3752. "type": "string"
  3753. },
  3754. "revised_prompt": {
  3755. "type": "string"
  3756. }
  3757. }
  3758. }
  3759. }
  3760. }
  3761. },
  3762. "AudioTranscriptionRequest": {
  3763. "type": "object",
  3764. "required": [
  3765. "file",
  3766. "model"
  3767. ],
  3768. "properties": {
  3769. "file": {
  3770. "type": "string",
  3771. "format": "binary",
  3772. "description": "音频文件"
  3773. },
  3774. "model": {
  3775. "type": "string",
  3776. "example": "whisper-1"
  3777. },
  3778. "language": {
  3779. "type": "string",
  3780. "description": "ISO-639-1 语言代码"
  3781. },
  3782. "prompt": {
  3783. "type": "string"
  3784. },
  3785. "response_format": {
  3786. "type": "string",
  3787. "enum": [
  3788. "json",
  3789. "text",
  3790. "srt",
  3791. "verbose_json",
  3792. "vtt"
  3793. ],
  3794. "default": "json"
  3795. },
  3796. "temperature": {
  3797. "type": "number"
  3798. },
  3799. "timestamp_granularities": {
  3800. "type": "array",
  3801. "items": {
  3802. "type": "string",
  3803. "enum": [
  3804. "word",
  3805. "segment"
  3806. ]
  3807. }
  3808. }
  3809. }
  3810. },
  3811. "AudioTranslationRequest": {
  3812. "type": "object",
  3813. "required": [
  3814. "file",
  3815. "model"
  3816. ],
  3817. "properties": {
  3818. "file": {
  3819. "type": "string",
  3820. "format": "binary"
  3821. },
  3822. "model": {
  3823. "type": "string"
  3824. },
  3825. "prompt": {
  3826. "type": "string"
  3827. },
  3828. "response_format": {
  3829. "type": "string"
  3830. },
  3831. "temperature": {
  3832. "type": "number"
  3833. }
  3834. }
  3835. },
  3836. "AudioTranscriptionResponse": {
  3837. "type": "object",
  3838. "properties": {
  3839. "text": {
  3840. "type": "string"
  3841. }
  3842. }
  3843. },
  3844. "SpeechRequest": {
  3845. "type": "object",
  3846. "required": [
  3847. "model",
  3848. "input",
  3849. "voice"
  3850. ],
  3851. "properties": {
  3852. "model": {
  3853. "type": "string",
  3854. "example": "tts-1"
  3855. },
  3856. "input": {
  3857. "type": "string",
  3858. "description": "要转换的文本",
  3859. "maxLength": 4096
  3860. },
  3861. "voice": {
  3862. "type": "string",
  3863. "enum": [
  3864. "alloy",
  3865. "echo",
  3866. "fable",
  3867. "onyx",
  3868. "nova",
  3869. "shimmer"
  3870. ]
  3871. },
  3872. "response_format": {
  3873. "type": "string",
  3874. "enum": [
  3875. "mp3",
  3876. "opus",
  3877. "aac",
  3878. "flac",
  3879. "wav",
  3880. "pcm"
  3881. ],
  3882. "default": "mp3"
  3883. },
  3884. "speed": {
  3885. "type": "number",
  3886. "minimum": 0.25,
  3887. "maximum": 4,
  3888. "default": 1
  3889. }
  3890. }
  3891. },
  3892. "RerankRequest": {
  3893. "type": "object",
  3894. "required": [
  3895. "model",
  3896. "query",
  3897. "documents"
  3898. ],
  3899. "properties": {
  3900. "model": {
  3901. "type": "string",
  3902. "example": "rerank-english-v2.0"
  3903. },
  3904. "query": {
  3905. "type": "string",
  3906. "description": "查询文本"
  3907. },
  3908. "documents": {
  3909. "type": "array",
  3910. "items": {
  3911. "oneOf": [
  3912. {
  3913. "type": "string"
  3914. },
  3915. {
  3916. "type": "object",
  3917. "properties": {}
  3918. }
  3919. ]
  3920. },
  3921. "description": "要重排序的文档列表"
  3922. },
  3923. "top_n": {
  3924. "type": "integer",
  3925. "description": "返回前 N 个结果"
  3926. },
  3927. "return_documents": {
  3928. "type": "boolean",
  3929. "default": false
  3930. }
  3931. }
  3932. },
  3933. "RerankResponse": {
  3934. "type": "object",
  3935. "properties": {
  3936. "id": {
  3937. "type": "string"
  3938. },
  3939. "results": {
  3940. "type": "array",
  3941. "items": {
  3942. "type": "object",
  3943. "properties": {
  3944. "index": {
  3945. "type": "integer"
  3946. },
  3947. "relevance_score": {
  3948. "type": "number"
  3949. },
  3950. "document": {
  3951. "type": "object",
  3952. "properties": {}
  3953. }
  3954. }
  3955. }
  3956. },
  3957. "meta": {
  3958. "type": "object",
  3959. "properties": {}
  3960. }
  3961. }
  3962. },
  3963. "ModerationRequest": {
  3964. "type": "object",
  3965. "required": [
  3966. "input"
  3967. ],
  3968. "properties": {
  3969. "input": {
  3970. "oneOf": [
  3971. {
  3972. "type": "string"
  3973. },
  3974. {
  3975. "type": "array",
  3976. "items": {
  3977. "type": "string"
  3978. }
  3979. }
  3980. ]
  3981. },
  3982. "model": {
  3983. "type": "string",
  3984. "example": "text-moderation-latest"
  3985. }
  3986. }
  3987. },
  3988. "ModerationResponse": {
  3989. "type": "object",
  3990. "properties": {
  3991. "id": {
  3992. "type": "string"
  3993. },
  3994. "model": {
  3995. "type": "string"
  3996. },
  3997. "results": {
  3998. "type": "array",
  3999. "items": {
  4000. "type": "object",
  4001. "properties": {
  4002. "flagged": {
  4003. "type": "boolean"
  4004. },
  4005. "categories": {
  4006. "type": "object",
  4007. "properties": {}
  4008. },
  4009. "category_scores": {
  4010. "type": "object",
  4011. "properties": {}
  4012. }
  4013. }
  4014. }
  4015. }
  4016. }
  4017. },
  4018. "GeminiRequest": {
  4019. "type": "object",
  4020. "properties": {
  4021. "contents": {
  4022. "type": "array",
  4023. "items": {
  4024. "type": "object",
  4025. "properties": {
  4026. "role": {
  4027. "type": "string",
  4028. "enum": [
  4029. "user",
  4030. "model"
  4031. ]
  4032. },
  4033. "parts": {
  4034. "type": "array",
  4035. "items": {
  4036. "type": "object",
  4037. "properties": {
  4038. "text": {
  4039. "type": "string"
  4040. },
  4041. "inlineData": {
  4042. "type": "object",
  4043. "properties": {
  4044. "mimeType": {
  4045. "type": "string"
  4046. },
  4047. "data": {
  4048. "type": "string"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. }
  4054. }
  4055. }
  4056. }
  4057. },
  4058. "generationConfig": {
  4059. "type": "object",
  4060. "properties": {
  4061. "temperature": {
  4062. "type": "number"
  4063. },
  4064. "topP": {
  4065. "type": "number"
  4066. },
  4067. "topK": {
  4068. "type": "integer"
  4069. },
  4070. "maxOutputTokens": {
  4071. "type": "integer"
  4072. },
  4073. "stopSequences": {
  4074. "type": "array",
  4075. "items": {
  4076. "type": "string"
  4077. }
  4078. }
  4079. }
  4080. },
  4081. "safetySettings": {
  4082. "type": "array",
  4083. "items": {
  4084. "type": "object",
  4085. "properties": {
  4086. "category": {
  4087. "type": "string"
  4088. },
  4089. "threshold": {
  4090. "type": "string"
  4091. }
  4092. }
  4093. }
  4094. },
  4095. "tools": {
  4096. "type": "array",
  4097. "items": {
  4098. "type": "object",
  4099. "properties": {}
  4100. }
  4101. },
  4102. "systemInstruction": {
  4103. "type": "object",
  4104. "properties": {
  4105. "parts": {
  4106. "type": "array",
  4107. "items": {
  4108. "type": "object",
  4109. "properties": {}
  4110. }
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "GeminiResponse": {
  4117. "type": "object",
  4118. "properties": {
  4119. "candidates": {
  4120. "type": "array",
  4121. "items": {
  4122. "type": "object",
  4123. "properties": {
  4124. "content": {
  4125. "type": "object",
  4126. "properties": {
  4127. "role": {
  4128. "type": "string"
  4129. },
  4130. "parts": {
  4131. "type": "array",
  4132. "items": {
  4133. "type": "object",
  4134. "properties": {}
  4135. }
  4136. }
  4137. }
  4138. },
  4139. "finishReason": {
  4140. "type": "string"
  4141. },
  4142. "safetyRatings": {
  4143. "type": "array",
  4144. "items": {
  4145. "type": "object",
  4146. "properties": {}
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "usageMetadata": {
  4153. "type": "object",
  4154. "properties": {
  4155. "promptTokenCount": {
  4156. "type": "integer"
  4157. },
  4158. "candidatesTokenCount": {
  4159. "type": "integer"
  4160. },
  4161. "totalTokenCount": {
  4162. "type": "integer"
  4163. }
  4164. }
  4165. }
  4166. }
  4167. },
  4168. "VideoRequest": {
  4169. "type": "object",
  4170. "description": "视频生成请求",
  4171. "properties": {
  4172. "model": {
  4173. "type": "string",
  4174. "description": "模型/风格 ID",
  4175. "example": "kling-v1"
  4176. },
  4177. "prompt": {
  4178. "type": "string",
  4179. "description": "文本描述提示词",
  4180. "example": "宇航员站起身走了"
  4181. },
  4182. "image": {
  4183. "type": "string",
  4184. "description": "图片输入 (URL 或 Base64)",
  4185. "example": "https://example.com/image.jpg"
  4186. },
  4187. "duration": {
  4188. "type": "number",
  4189. "description": "视频时长(秒)",
  4190. "example": 5
  4191. },
  4192. "width": {
  4193. "type": "integer",
  4194. "description": "视频宽度",
  4195. "example": 1280
  4196. },
  4197. "height": {
  4198. "type": "integer",
  4199. "description": "视频高度",
  4200. "example": 720
  4201. },
  4202. "fps": {
  4203. "type": "integer",
  4204. "description": "视频帧率",
  4205. "example": 30
  4206. },
  4207. "seed": {
  4208. "type": "integer",
  4209. "description": "随机种子",
  4210. "example": 20231234
  4211. },
  4212. "n": {
  4213. "type": "integer",
  4214. "description": "生成视频数量",
  4215. "example": 1
  4216. },
  4217. "response_format": {
  4218. "type": "string",
  4219. "description": "响应格式",
  4220. "example": "url"
  4221. },
  4222. "user": {
  4223. "type": "string",
  4224. "description": "用户标识",
  4225. "example": "user-1234"
  4226. },
  4227. "metadata": {
  4228. "type": "object",
  4229. "description": "扩展参数 (如 negative_prompt, style, quality_level 等)",
  4230. "additionalProperties": true,
  4231. "properties": {}
  4232. }
  4233. }
  4234. },
  4235. "VideoResponse": {
  4236. "type": "object",
  4237. "description": "视频生成任务提交响应",
  4238. "properties": {
  4239. "task_id": {
  4240. "type": "string",
  4241. "description": "任务 ID",
  4242. "example": "abcd1234efgh"
  4243. },
  4244. "status": {
  4245. "type": "string",
  4246. "description": "任务状态",
  4247. "example": "queued"
  4248. }
  4249. }
  4250. },
  4251. "VideoTaskResponse": {
  4252. "type": "object",
  4253. "description": "视频任务状态查询响应",
  4254. "properties": {
  4255. "task_id": {
  4256. "type": "string",
  4257. "description": "任务 ID",
  4258. "example": "abcd1234efgh"
  4259. },
  4260. "status": {
  4261. "type": "string",
  4262. "description": "任务状态",
  4263. "enum": [
  4264. "queued",
  4265. "in_progress",
  4266. "completed",
  4267. "failed"
  4268. ],
  4269. "example": "completed"
  4270. },
  4271. "url": {
  4272. "type": "string",
  4273. "description": "视频资源 URL(成功时)",
  4274. "example": "https://example.com/video.mp4"
  4275. },
  4276. "format": {
  4277. "type": "string",
  4278. "description": "视频格式",
  4279. "example": "mp4"
  4280. },
  4281. "metadata": {
  4282. "$ref": "#/components/schemas/VideoTaskMetadata"
  4283. },
  4284. "error": {
  4285. "$ref": "#/components/schemas/VideoTaskError"
  4286. }
  4287. }
  4288. },
  4289. "VideoTaskMetadata": {
  4290. "type": "object",
  4291. "description": "视频任务元数据",
  4292. "properties": {
  4293. "duration": {
  4294. "type": "number",
  4295. "description": "实际生成的视频时长",
  4296. "example": 5
  4297. },
  4298. "fps": {
  4299. "type": "integer",
  4300. "description": "实际帧率",
  4301. "example": 30
  4302. },
  4303. "width": {
  4304. "type": "integer",
  4305. "description": "实际宽度",
  4306. "example": 1280
  4307. },
  4308. "height": {
  4309. "type": "integer",
  4310. "description": "实际高度",
  4311. "example": 720
  4312. },
  4313. "seed": {
  4314. "type": "integer",
  4315. "description": "使用的随机种子",
  4316. "example": 20231234
  4317. }
  4318. }
  4319. },
  4320. "VideoTaskError": {
  4321. "type": "object",
  4322. "description": "视频任务错误信息",
  4323. "properties": {
  4324. "code": {
  4325. "type": "integer",
  4326. "description": "错误码"
  4327. },
  4328. "message": {
  4329. "type": "string",
  4330. "description": "错误信息"
  4331. }
  4332. }
  4333. },
  4334. "OpenAIVideo": {
  4335. "type": "object",
  4336. "description": "OpenAI 兼容的视频对象",
  4337. "properties": {
  4338. "id": {
  4339. "type": "string",
  4340. "description": "视频 ID",
  4341. "example": "video-abc123"
  4342. },
  4343. "task_id": {
  4344. "type": "string",
  4345. "description": "任务 ID (兼容旧接口)",
  4346. "deprecated": true
  4347. },
  4348. "object": {
  4349. "type": "string",
  4350. "description": "对象类型",
  4351. "example": "video"
  4352. },
  4353. "model": {
  4354. "type": "string",
  4355. "description": "使用的模型",
  4356. "example": "sora"
  4357. },
  4358. "status": {
  4359. "type": "string",
  4360. "description": "任务状态",
  4361. "enum": [
  4362. "queued",
  4363. "in_progress",
  4364. "completed",
  4365. "failed"
  4366. ],
  4367. "example": "completed"
  4368. },
  4369. "progress": {
  4370. "type": "integer",
  4371. "description": "进度百分比",
  4372. "example": 100
  4373. },
  4374. "created_at": {
  4375. "type": "integer",
  4376. "description": "创建时间戳"
  4377. },
  4378. "completed_at": {
  4379. "type": "integer",
  4380. "description": "完成时间戳"
  4381. },
  4382. "expires_at": {
  4383. "type": "integer",
  4384. "description": "过期时间戳"
  4385. },
  4386. "seconds": {
  4387. "type": "string",
  4388. "description": "视频时长"
  4389. },
  4390. "size": {
  4391. "type": "string",
  4392. "description": "视频尺寸"
  4393. },
  4394. "remixed_from_video_id": {
  4395. "type": "string",
  4396. "description": "源视频 ID(如果是基于其他视频生成)"
  4397. },
  4398. "error": {
  4399. "$ref": "#/components/schemas/OpenAIVideoError"
  4400. },
  4401. "metadata": {
  4402. "type": "object",
  4403. "description": "额外元数据",
  4404. "additionalProperties": true,
  4405. "properties": {}
  4406. }
  4407. }
  4408. },
  4409. "OpenAIVideoError": {
  4410. "type": "object",
  4411. "description": "OpenAI 视频错误信息",
  4412. "properties": {
  4413. "message": {
  4414. "type": "string",
  4415. "description": "错误信息"
  4416. },
  4417. "code": {
  4418. "type": "string",
  4419. "description": "错误码"
  4420. }
  4421. }
  4422. },
  4423. "ApiResponse": {
  4424. "type": "object",
  4425. "properties": {
  4426. "success": {
  4427. "type": "boolean"
  4428. },
  4429. "message": {
  4430. "type": "string"
  4431. },
  4432. "data": {}
  4433. }
  4434. },
  4435. "PageInfo": {
  4436. "type": "object",
  4437. "properties": {
  4438. "page": {
  4439. "type": "integer"
  4440. },
  4441. "page_size": {
  4442. "type": "integer"
  4443. },
  4444. "total": {
  4445. "type": "integer"
  4446. },
  4447. "items": {
  4448. "type": "array",
  4449. "items": {}
  4450. }
  4451. }
  4452. },
  4453. "User": {
  4454. "type": "object",
  4455. "properties": {
  4456. "id": {
  4457. "type": "integer"
  4458. },
  4459. "username": {
  4460. "type": "string"
  4461. },
  4462. "display_name": {
  4463. "type": "string"
  4464. },
  4465. "role": {
  4466. "type": "integer"
  4467. },
  4468. "status": {
  4469. "type": "integer"
  4470. },
  4471. "email": {
  4472. "type": "string"
  4473. },
  4474. "group": {
  4475. "type": "string"
  4476. },
  4477. "quota": {
  4478. "type": "integer"
  4479. },
  4480. "used_quota": {
  4481. "type": "integer"
  4482. },
  4483. "request_count": {
  4484. "type": "integer"
  4485. }
  4486. }
  4487. },
  4488. "Channel": {
  4489. "type": "object",
  4490. "properties": {
  4491. "id": {
  4492. "type": "integer"
  4493. },
  4494. "name": {
  4495. "type": "string"
  4496. },
  4497. "type": {
  4498. "type": "integer"
  4499. },
  4500. "status": {
  4501. "type": "integer"
  4502. },
  4503. "models": {
  4504. "type": "string"
  4505. },
  4506. "groups": {
  4507. "type": "string"
  4508. },
  4509. "priority": {
  4510. "type": "integer"
  4511. },
  4512. "weight": {
  4513. "type": "integer"
  4514. },
  4515. "base_url": {
  4516. "type": "string"
  4517. },
  4518. "tag": {
  4519. "type": "string"
  4520. }
  4521. }
  4522. },
  4523. "Token": {
  4524. "type": "object",
  4525. "properties": {
  4526. "id": {
  4527. "type": "integer"
  4528. },
  4529. "user_id": {
  4530. "type": "integer"
  4531. },
  4532. "name": {
  4533. "type": "string"
  4534. },
  4535. "key": {
  4536. "type": "string"
  4537. },
  4538. "status": {
  4539. "type": "integer"
  4540. },
  4541. "expired_time": {
  4542. "type": "integer"
  4543. },
  4544. "remain_quota": {
  4545. "type": "integer"
  4546. },
  4547. "unlimited_quota": {
  4548. "type": "boolean"
  4549. }
  4550. }
  4551. },
  4552. "Redemption": {
  4553. "type": "object",
  4554. "properties": {
  4555. "id": {
  4556. "type": "integer"
  4557. },
  4558. "name": {
  4559. "type": "string"
  4560. },
  4561. "key": {
  4562. "type": "string"
  4563. },
  4564. "status": {
  4565. "type": "integer"
  4566. },
  4567. "quota": {
  4568. "type": "integer"
  4569. },
  4570. "created_time": {
  4571. "type": "integer"
  4572. },
  4573. "redeemed_time": {
  4574. "type": "integer"
  4575. }
  4576. }
  4577. },
  4578. "Log": {
  4579. "type": "object",
  4580. "properties": {
  4581. "id": {
  4582. "type": "integer"
  4583. },
  4584. "user_id": {
  4585. "type": "integer"
  4586. },
  4587. "type": {
  4588. "type": "integer"
  4589. },
  4590. "content": {
  4591. "type": "string"
  4592. },
  4593. "created_at": {
  4594. "type": "integer"
  4595. }
  4596. }
  4597. }
  4598. },
  4599. "responses": {},
  4600. "securitySchemes": {
  4601. "BearerAuth": {
  4602. "type": "http",
  4603. "scheme": "bearer",
  4604. "description": "使用 Bearer Token 认证。\n格式: `Authorization: Bearer sk-xxxxxx`\n"
  4605. },
  4606. "SessionAuth": {
  4607. "type": "apiKey",
  4608. "in": "cookie",
  4609. "name": "session",
  4610. "description": "Session认证,通过登录接口获取"
  4611. },
  4612. "AccessToken": {
  4613. "type": "apiKey",
  4614. "in": "header",
  4615. "name": "Authorization",
  4616. "description": "Access Token认证,格式: Bearer {access_token},通过 /api/user/token 接口生成"
  4617. },
  4618. "NewApiUser": {
  4619. "type": "apiKey",
  4620. "in": "header",
  4621. "name": "New-Api-User",
  4622. "description": "用户ID请求头,必须与当前登录用户ID匹配,使用Session或AccessToken认证时必须提供"
  4623. },
  4624. "Combination": {
  4625. "group": [
  4626. {
  4627. "id": "SessionAuth"
  4628. },
  4629. {
  4630. "id": "NewApiUser"
  4631. }
  4632. ],
  4633. "type": "combination"
  4634. },
  4635. "Combination1": {
  4636. "group": [
  4637. {
  4638. "id": "AccessToken"
  4639. },
  4640. {
  4641. "id": "NewApiUser"
  4642. }
  4643. ],
  4644. "type": "combination"
  4645. },
  4646. "Combination2": {
  4647. "group": [
  4648. {
  4649. "id": "SessionAuth"
  4650. },
  4651. {
  4652. "id": "NewApiUser"
  4653. }
  4654. ],
  4655. "type": "combination"
  4656. },
  4657. "Combination11": {
  4658. "group": [
  4659. {
  4660. "id": "AccessToken"
  4661. },
  4662. {
  4663. "id": "NewApiUser"
  4664. }
  4665. ],
  4666. "type": "combination"
  4667. },
  4668. "Combination3": {
  4669. "group": [
  4670. {
  4671. "id": "SessionAuth"
  4672. },
  4673. {
  4674. "id": "NewApiUser"
  4675. }
  4676. ],
  4677. "type": "combination"
  4678. },
  4679. "Combination12": {
  4680. "group": [
  4681. {
  4682. "id": "AccessToken"
  4683. },
  4684. {
  4685. "id": "NewApiUser"
  4686. }
  4687. ],
  4688. "type": "combination"
  4689. },
  4690. "Combination4": {
  4691. "group": [
  4692. {
  4693. "id": "SessionAuth"
  4694. },
  4695. {
  4696. "id": "NewApiUser"
  4697. }
  4698. ],
  4699. "type": "combination"
  4700. },
  4701. "Combination13": {
  4702. "group": [
  4703. {
  4704. "id": "AccessToken"
  4705. },
  4706. {
  4707. "id": "NewApiUser"
  4708. }
  4709. ],
  4710. "type": "combination"
  4711. },
  4712. "Combination5": {
  4713. "group": [
  4714. {
  4715. "id": "SessionAuth"
  4716. },
  4717. {
  4718. "id": "NewApiUser"
  4719. }
  4720. ],
  4721. "type": "combination"
  4722. },
  4723. "Combination14": {
  4724. "group": [
  4725. {
  4726. "id": "AccessToken"
  4727. },
  4728. {
  4729. "id": "NewApiUser"
  4730. }
  4731. ],
  4732. "type": "combination"
  4733. },
  4734. "Combination6": {
  4735. "group": [
  4736. {
  4737. "id": "SessionAuth"
  4738. },
  4739. {
  4740. "id": "NewApiUser"
  4741. }
  4742. ],
  4743. "type": "combination"
  4744. },
  4745. "Combination15": {
  4746. "group": [
  4747. {
  4748. "id": "AccessToken"
  4749. },
  4750. {
  4751. "id": "NewApiUser"
  4752. }
  4753. ],
  4754. "type": "combination"
  4755. },
  4756. "Combination7": {
  4757. "group": [
  4758. {
  4759. "id": "SessionAuth"
  4760. },
  4761. {
  4762. "id": "NewApiUser"
  4763. }
  4764. ],
  4765. "type": "combination"
  4766. },
  4767. "Combination16": {
  4768. "group": [
  4769. {
  4770. "id": "AccessToken"
  4771. },
  4772. {
  4773. "id": "NewApiUser"
  4774. }
  4775. ],
  4776. "type": "combination"
  4777. },
  4778. "Combination8": {
  4779. "group": [
  4780. {
  4781. "id": "SessionAuth"
  4782. },
  4783. {
  4784. "id": "NewApiUser"
  4785. }
  4786. ],
  4787. "type": "combination"
  4788. },
  4789. "Combination17": {
  4790. "group": [
  4791. {
  4792. "id": "AccessToken"
  4793. },
  4794. {
  4795. "id": "NewApiUser"
  4796. }
  4797. ],
  4798. "type": "combination"
  4799. },
  4800. "Combination9": {
  4801. "group": [
  4802. {
  4803. "id": "SessionAuth"
  4804. },
  4805. {
  4806. "id": "NewApiUser"
  4807. }
  4808. ],
  4809. "type": "combination"
  4810. },
  4811. "Combination18": {
  4812. "group": [
  4813. {
  4814. "id": "AccessToken"
  4815. },
  4816. {
  4817. "id": "NewApiUser"
  4818. }
  4819. ],
  4820. "type": "combination"
  4821. },
  4822. "Combination10": {
  4823. "group": [
  4824. {
  4825. "id": "SessionAuth"
  4826. },
  4827. {
  4828. "id": "NewApiUser"
  4829. }
  4830. ],
  4831. "type": "combination"
  4832. },
  4833. "Combination19": {
  4834. "group": [
  4835. {
  4836. "id": "AccessToken"
  4837. },
  4838. {
  4839. "id": "NewApiUser"
  4840. }
  4841. ],
  4842. "type": "combination"
  4843. },
  4844. "Combination20": {
  4845. "group": [
  4846. {
  4847. "id": "SessionAuth"
  4848. },
  4849. {
  4850. "id": "NewApiUser"
  4851. }
  4852. ],
  4853. "type": "combination"
  4854. },
  4855. "Combination110": {
  4856. "group": [
  4857. {
  4858. "id": "AccessToken"
  4859. },
  4860. {
  4861. "id": "NewApiUser"
  4862. }
  4863. ],
  4864. "type": "combination"
  4865. },
  4866. "Combination21": {
  4867. "group": [
  4868. {
  4869. "id": "SessionAuth"
  4870. },
  4871. {
  4872. "id": "NewApiUser"
  4873. }
  4874. ],
  4875. "type": "combination"
  4876. },
  4877. "Combination111": {
  4878. "group": [
  4879. {
  4880. "id": "AccessToken"
  4881. },
  4882. {
  4883. "id": "NewApiUser"
  4884. }
  4885. ],
  4886. "type": "combination"
  4887. },
  4888. "Combination22": {
  4889. "group": [
  4890. {
  4891. "id": "SessionAuth"
  4892. },
  4893. {
  4894. "id": "NewApiUser"
  4895. }
  4896. ],
  4897. "type": "combination"
  4898. },
  4899. "Combination112": {
  4900. "group": [
  4901. {
  4902. "id": "AccessToken"
  4903. },
  4904. {
  4905. "id": "NewApiUser"
  4906. }
  4907. ],
  4908. "type": "combination"
  4909. },
  4910. "Combination23": {
  4911. "group": [
  4912. {
  4913. "id": "SessionAuth"
  4914. },
  4915. {
  4916. "id": "NewApiUser"
  4917. }
  4918. ],
  4919. "type": "combination"
  4920. },
  4921. "Combination113": {
  4922. "group": [
  4923. {
  4924. "id": "AccessToken"
  4925. },
  4926. {
  4927. "id": "NewApiUser"
  4928. }
  4929. ],
  4930. "type": "combination"
  4931. },
  4932. "Combination24": {
  4933. "group": [
  4934. {
  4935. "id": "SessionAuth"
  4936. },
  4937. {
  4938. "id": "NewApiUser"
  4939. }
  4940. ],
  4941. "type": "combination"
  4942. },
  4943. "Combination114": {
  4944. "group": [
  4945. {
  4946. "id": "AccessToken"
  4947. },
  4948. {
  4949. "id": "NewApiUser"
  4950. }
  4951. ],
  4952. "type": "combination"
  4953. },
  4954. "Combination25": {
  4955. "group": [
  4956. {
  4957. "id": "SessionAuth"
  4958. },
  4959. {
  4960. "id": "NewApiUser"
  4961. }
  4962. ],
  4963. "type": "combination"
  4964. },
  4965. "Combination115": {
  4966. "group": [
  4967. {
  4968. "id": "AccessToken"
  4969. },
  4970. {
  4971. "id": "NewApiUser"
  4972. }
  4973. ],
  4974. "type": "combination"
  4975. },
  4976. "Combination26": {
  4977. "group": [
  4978. {
  4979. "id": "SessionAuth"
  4980. },
  4981. {
  4982. "id": "NewApiUser"
  4983. }
  4984. ],
  4985. "type": "combination"
  4986. },
  4987. "Combination116": {
  4988. "group": [
  4989. {
  4990. "id": "AccessToken"
  4991. },
  4992. {
  4993. "id": "NewApiUser"
  4994. }
  4995. ],
  4996. "type": "combination"
  4997. },
  4998. "Combination27": {
  4999. "group": [
  5000. {
  5001. "id": "SessionAuth"
  5002. },
  5003. {
  5004. "id": "NewApiUser"
  5005. }
  5006. ],
  5007. "type": "combination"
  5008. },
  5009. "Combination117": {
  5010. "group": [
  5011. {
  5012. "id": "AccessToken"
  5013. },
  5014. {
  5015. "id": "NewApiUser"
  5016. }
  5017. ],
  5018. "type": "combination"
  5019. },
  5020. "Combination28": {
  5021. "group": [
  5022. {
  5023. "id": "SessionAuth"
  5024. },
  5025. {
  5026. "id": "NewApiUser"
  5027. }
  5028. ],
  5029. "type": "combination"
  5030. },
  5031. "Combination118": {
  5032. "group": [
  5033. {
  5034. "id": "AccessToken"
  5035. },
  5036. {
  5037. "id": "NewApiUser"
  5038. }
  5039. ],
  5040. "type": "combination"
  5041. },
  5042. "Combination29": {
  5043. "group": [
  5044. {
  5045. "id": "SessionAuth"
  5046. },
  5047. {
  5048. "id": "NewApiUser"
  5049. }
  5050. ],
  5051. "type": "combination"
  5052. },
  5053. "Combination119": {
  5054. "group": [
  5055. {
  5056. "id": "AccessToken"
  5057. },
  5058. {
  5059. "id": "NewApiUser"
  5060. }
  5061. ],
  5062. "type": "combination"
  5063. },
  5064. "Combination30": {
  5065. "group": [
  5066. {
  5067. "id": "SessionAuth"
  5068. },
  5069. {
  5070. "id": "NewApiUser"
  5071. }
  5072. ],
  5073. "type": "combination"
  5074. },
  5075. "Combination120": {
  5076. "group": [
  5077. {
  5078. "id": "AccessToken"
  5079. },
  5080. {
  5081. "id": "NewApiUser"
  5082. }
  5083. ],
  5084. "type": "combination"
  5085. },
  5086. "Combination31": {
  5087. "group": [
  5088. {
  5089. "id": "SessionAuth"
  5090. },
  5091. {
  5092. "id": "NewApiUser"
  5093. }
  5094. ],
  5095. "type": "combination"
  5096. },
  5097. "Combination121": {
  5098. "group": [
  5099. {
  5100. "id": "AccessToken"
  5101. },
  5102. {
  5103. "id": "NewApiUser"
  5104. }
  5105. ],
  5106. "type": "combination"
  5107. },
  5108. "Combination32": {
  5109. "group": [
  5110. {
  5111. "id": "SessionAuth"
  5112. },
  5113. {
  5114. "id": "NewApiUser"
  5115. }
  5116. ],
  5117. "type": "combination"
  5118. },
  5119. "Combination122": {
  5120. "group": [
  5121. {
  5122. "id": "AccessToken"
  5123. },
  5124. {
  5125. "id": "NewApiUser"
  5126. }
  5127. ],
  5128. "type": "combination"
  5129. },
  5130. "Combination33": {
  5131. "group": [
  5132. {
  5133. "id": "SessionAuth"
  5134. },
  5135. {
  5136. "id": "NewApiUser"
  5137. }
  5138. ],
  5139. "type": "combination"
  5140. },
  5141. "Combination123": {
  5142. "group": [
  5143. {
  5144. "id": "AccessToken"
  5145. },
  5146. {
  5147. "id": "NewApiUser"
  5148. }
  5149. ],
  5150. "type": "combination"
  5151. },
  5152. "Combination34": {
  5153. "group": [
  5154. {
  5155. "id": "SessionAuth"
  5156. },
  5157. {
  5158. "id": "NewApiUser"
  5159. }
  5160. ],
  5161. "type": "combination"
  5162. },
  5163. "Combination124": {
  5164. "group": [
  5165. {
  5166. "id": "AccessToken"
  5167. },
  5168. {
  5169. "id": "NewApiUser"
  5170. }
  5171. ],
  5172. "type": "combination"
  5173. },
  5174. "Combination35": {
  5175. "group": [
  5176. {
  5177. "id": "SessionAuth"
  5178. },
  5179. {
  5180. "id": "NewApiUser"
  5181. }
  5182. ],
  5183. "type": "combination"
  5184. },
  5185. "Combination125": {
  5186. "group": [
  5187. {
  5188. "id": "AccessToken"
  5189. },
  5190. {
  5191. "id": "NewApiUser"
  5192. }
  5193. ],
  5194. "type": "combination"
  5195. },
  5196. "Combination36": {
  5197. "group": [
  5198. {
  5199. "id": "SessionAuth"
  5200. },
  5201. {
  5202. "id": "NewApiUser"
  5203. }
  5204. ],
  5205. "type": "combination"
  5206. },
  5207. "Combination126": {
  5208. "group": [
  5209. {
  5210. "id": "AccessToken"
  5211. },
  5212. {
  5213. "id": "NewApiUser"
  5214. }
  5215. ],
  5216. "type": "combination"
  5217. },
  5218. "Combination37": {
  5219. "group": [
  5220. {
  5221. "id": "SessionAuth"
  5222. },
  5223. {
  5224. "id": "NewApiUser"
  5225. }
  5226. ],
  5227. "type": "combination"
  5228. },
  5229. "Combination127": {
  5230. "group": [
  5231. {
  5232. "id": "AccessToken"
  5233. },
  5234. {
  5235. "id": "NewApiUser"
  5236. }
  5237. ],
  5238. "type": "combination"
  5239. },
  5240. "Combination38": {
  5241. "group": [
  5242. {
  5243. "id": "SessionAuth"
  5244. },
  5245. {
  5246. "id": "NewApiUser"
  5247. }
  5248. ],
  5249. "type": "combination"
  5250. },
  5251. "Combination128": {
  5252. "group": [
  5253. {
  5254. "id": "AccessToken"
  5255. },
  5256. {
  5257. "id": "NewApiUser"
  5258. }
  5259. ],
  5260. "type": "combination"
  5261. },
  5262. "Combination39": {
  5263. "group": [
  5264. {
  5265. "id": "SessionAuth"
  5266. },
  5267. {
  5268. "id": "NewApiUser"
  5269. }
  5270. ],
  5271. "type": "combination"
  5272. },
  5273. "Combination129": {
  5274. "group": [
  5275. {
  5276. "id": "AccessToken"
  5277. },
  5278. {
  5279. "id": "NewApiUser"
  5280. }
  5281. ],
  5282. "type": "combination"
  5283. },
  5284. "Combination40": {
  5285. "group": [
  5286. {
  5287. "id": "SessionAuth"
  5288. },
  5289. {
  5290. "id": "NewApiUser"
  5291. }
  5292. ],
  5293. "type": "combination"
  5294. },
  5295. "Combination130": {
  5296. "group": [
  5297. {
  5298. "id": "AccessToken"
  5299. },
  5300. {
  5301. "id": "NewApiUser"
  5302. }
  5303. ],
  5304. "type": "combination"
  5305. },
  5306. "Combination41": {
  5307. "group": [
  5308. {
  5309. "id": "SessionAuth"
  5310. },
  5311. {
  5312. "id": "NewApiUser"
  5313. }
  5314. ],
  5315. "type": "combination"
  5316. },
  5317. "Combination131": {
  5318. "group": [
  5319. {
  5320. "id": "AccessToken"
  5321. },
  5322. {
  5323. "id": "NewApiUser"
  5324. }
  5325. ],
  5326. "type": "combination"
  5327. },
  5328. "Combination42": {
  5329. "group": [
  5330. {
  5331. "id": "SessionAuth"
  5332. },
  5333. {
  5334. "id": "NewApiUser"
  5335. }
  5336. ],
  5337. "type": "combination"
  5338. },
  5339. "Combination132": {
  5340. "group": [
  5341. {
  5342. "id": "AccessToken"
  5343. },
  5344. {
  5345. "id": "NewApiUser"
  5346. }
  5347. ],
  5348. "type": "combination"
  5349. },
  5350. "Combination43": {
  5351. "group": [
  5352. {
  5353. "id": "SessionAuth"
  5354. },
  5355. {
  5356. "id": "NewApiUser"
  5357. }
  5358. ],
  5359. "type": "combination"
  5360. },
  5361. "Combination133": {
  5362. "group": [
  5363. {
  5364. "id": "AccessToken"
  5365. },
  5366. {
  5367. "id": "NewApiUser"
  5368. }
  5369. ],
  5370. "type": "combination"
  5371. },
  5372. "Combination44": {
  5373. "group": [
  5374. {
  5375. "id": "SessionAuth"
  5376. },
  5377. {
  5378. "id": "NewApiUser"
  5379. }
  5380. ],
  5381. "type": "combination"
  5382. },
  5383. "Combination134": {
  5384. "group": [
  5385. {
  5386. "id": "AccessToken"
  5387. },
  5388. {
  5389. "id": "NewApiUser"
  5390. }
  5391. ],
  5392. "type": "combination"
  5393. },
  5394. "Combination45": {
  5395. "group": [
  5396. {
  5397. "id": "SessionAuth"
  5398. },
  5399. {
  5400. "id": "NewApiUser"
  5401. }
  5402. ],
  5403. "type": "combination"
  5404. },
  5405. "Combination135": {
  5406. "group": [
  5407. {
  5408. "id": "AccessToken"
  5409. },
  5410. {
  5411. "id": "NewApiUser"
  5412. }
  5413. ],
  5414. "type": "combination"
  5415. },
  5416. "Combination46": {
  5417. "group": [
  5418. {
  5419. "id": "SessionAuth"
  5420. },
  5421. {
  5422. "id": "NewApiUser"
  5423. }
  5424. ],
  5425. "type": "combination"
  5426. },
  5427. "Combination136": {
  5428. "group": [
  5429. {
  5430. "id": "AccessToken"
  5431. },
  5432. {
  5433. "id": "NewApiUser"
  5434. }
  5435. ],
  5436. "type": "combination"
  5437. },
  5438. "Combination47": {
  5439. "group": [
  5440. {
  5441. "id": "SessionAuth"
  5442. },
  5443. {
  5444. "id": "NewApiUser"
  5445. }
  5446. ],
  5447. "type": "combination"
  5448. },
  5449. "Combination137": {
  5450. "group": [
  5451. {
  5452. "id": "AccessToken"
  5453. },
  5454. {
  5455. "id": "NewApiUser"
  5456. }
  5457. ],
  5458. "type": "combination"
  5459. },
  5460. "Combination48": {
  5461. "group": [
  5462. {
  5463. "id": "SessionAuth"
  5464. },
  5465. {
  5466. "id": "NewApiUser"
  5467. }
  5468. ],
  5469. "type": "combination"
  5470. },
  5471. "Combination138": {
  5472. "group": [
  5473. {
  5474. "id": "AccessToken"
  5475. },
  5476. {
  5477. "id": "NewApiUser"
  5478. }
  5479. ],
  5480. "type": "combination"
  5481. },
  5482. "Combination49": {
  5483. "group": [
  5484. {
  5485. "id": "SessionAuth"
  5486. },
  5487. {
  5488. "id": "NewApiUser"
  5489. }
  5490. ],
  5491. "type": "combination"
  5492. },
  5493. "Combination139": {
  5494. "group": [
  5495. {
  5496. "id": "AccessToken"
  5497. },
  5498. {
  5499. "id": "NewApiUser"
  5500. }
  5501. ],
  5502. "type": "combination"
  5503. },
  5504. "Combination50": {
  5505. "group": [
  5506. {
  5507. "id": "SessionAuth"
  5508. },
  5509. {
  5510. "id": "NewApiUser"
  5511. }
  5512. ],
  5513. "type": "combination"
  5514. },
  5515. "Combination140": {
  5516. "group": [
  5517. {
  5518. "id": "AccessToken"
  5519. },
  5520. {
  5521. "id": "NewApiUser"
  5522. }
  5523. ],
  5524. "type": "combination"
  5525. },
  5526. "Combination51": {
  5527. "group": [
  5528. {
  5529. "id": "SessionAuth"
  5530. },
  5531. {
  5532. "id": "NewApiUser"
  5533. }
  5534. ],
  5535. "type": "combination"
  5536. },
  5537. "Combination141": {
  5538. "group": [
  5539. {
  5540. "id": "AccessToken"
  5541. },
  5542. {
  5543. "id": "NewApiUser"
  5544. }
  5545. ],
  5546. "type": "combination"
  5547. },
  5548. "Combination52": {
  5549. "group": [
  5550. {
  5551. "id": "SessionAuth"
  5552. },
  5553. {
  5554. "id": "NewApiUser"
  5555. }
  5556. ],
  5557. "type": "combination"
  5558. },
  5559. "Combination142": {
  5560. "group": [
  5561. {
  5562. "id": "AccessToken"
  5563. },
  5564. {
  5565. "id": "NewApiUser"
  5566. }
  5567. ],
  5568. "type": "combination"
  5569. },
  5570. "Combination53": {
  5571. "group": [
  5572. {
  5573. "id": "SessionAuth"
  5574. },
  5575. {
  5576. "id": "NewApiUser"
  5577. }
  5578. ],
  5579. "type": "combination"
  5580. },
  5581. "Combination143": {
  5582. "group": [
  5583. {
  5584. "id": "AccessToken"
  5585. },
  5586. {
  5587. "id": "NewApiUser"
  5588. }
  5589. ],
  5590. "type": "combination"
  5591. },
  5592. "Combination54": {
  5593. "group": [
  5594. {
  5595. "id": "SessionAuth"
  5596. },
  5597. {
  5598. "id": "NewApiUser"
  5599. }
  5600. ],
  5601. "type": "combination"
  5602. },
  5603. "Combination144": {
  5604. "group": [
  5605. {
  5606. "id": "AccessToken"
  5607. },
  5608. {
  5609. "id": "NewApiUser"
  5610. }
  5611. ],
  5612. "type": "combination"
  5613. },
  5614. "Combination55": {
  5615. "group": [
  5616. {
  5617. "id": "SessionAuth"
  5618. },
  5619. {
  5620. "id": "NewApiUser"
  5621. }
  5622. ],
  5623. "type": "combination"
  5624. },
  5625. "Combination145": {
  5626. "group": [
  5627. {
  5628. "id": "AccessToken"
  5629. },
  5630. {
  5631. "id": "NewApiUser"
  5632. }
  5633. ],
  5634. "type": "combination"
  5635. },
  5636. "Combination56": {
  5637. "group": [
  5638. {
  5639. "id": "SessionAuth"
  5640. },
  5641. {
  5642. "id": "NewApiUser"
  5643. }
  5644. ],
  5645. "type": "combination"
  5646. },
  5647. "Combination146": {
  5648. "group": [
  5649. {
  5650. "id": "AccessToken"
  5651. },
  5652. {
  5653. "id": "NewApiUser"
  5654. }
  5655. ],
  5656. "type": "combination"
  5657. },
  5658. "Combination57": {
  5659. "group": [
  5660. {
  5661. "id": "SessionAuth"
  5662. },
  5663. {
  5664. "id": "NewApiUser"
  5665. }
  5666. ],
  5667. "type": "combination"
  5668. },
  5669. "Combination147": {
  5670. "group": [
  5671. {
  5672. "id": "AccessToken"
  5673. },
  5674. {
  5675. "id": "NewApiUser"
  5676. }
  5677. ],
  5678. "type": "combination"
  5679. },
  5680. "Combination58": {
  5681. "group": [
  5682. {
  5683. "id": "SessionAuth"
  5684. },
  5685. {
  5686. "id": "NewApiUser"
  5687. }
  5688. ],
  5689. "type": "combination"
  5690. },
  5691. "Combination148": {
  5692. "group": [
  5693. {
  5694. "id": "AccessToken"
  5695. },
  5696. {
  5697. "id": "NewApiUser"
  5698. }
  5699. ],
  5700. "type": "combination"
  5701. },
  5702. "Combination59": {
  5703. "group": [
  5704. {
  5705. "id": "SessionAuth"
  5706. },
  5707. {
  5708. "id": "NewApiUser"
  5709. }
  5710. ],
  5711. "type": "combination"
  5712. },
  5713. "Combination149": {
  5714. "group": [
  5715. {
  5716. "id": "AccessToken"
  5717. },
  5718. {
  5719. "id": "NewApiUser"
  5720. }
  5721. ],
  5722. "type": "combination"
  5723. },
  5724. "Combination60": {
  5725. "group": [
  5726. {
  5727. "id": "SessionAuth"
  5728. },
  5729. {
  5730. "id": "NewApiUser"
  5731. }
  5732. ],
  5733. "type": "combination"
  5734. },
  5735. "Combination150": {
  5736. "group": [
  5737. {
  5738. "id": "AccessToken"
  5739. },
  5740. {
  5741. "id": "NewApiUser"
  5742. }
  5743. ],
  5744. "type": "combination"
  5745. },
  5746. "Combination61": {
  5747. "group": [
  5748. {
  5749. "id": "SessionAuth"
  5750. },
  5751. {
  5752. "id": "NewApiUser"
  5753. }
  5754. ],
  5755. "type": "combination"
  5756. },
  5757. "Combination151": {
  5758. "group": [
  5759. {
  5760. "id": "AccessToken"
  5761. },
  5762. {
  5763. "id": "NewApiUser"
  5764. }
  5765. ],
  5766. "type": "combination"
  5767. },
  5768. "Combination62": {
  5769. "group": [
  5770. {
  5771. "id": "SessionAuth"
  5772. },
  5773. {
  5774. "id": "NewApiUser"
  5775. }
  5776. ],
  5777. "type": "combination"
  5778. },
  5779. "Combination152": {
  5780. "group": [
  5781. {
  5782. "id": "AccessToken"
  5783. },
  5784. {
  5785. "id": "NewApiUser"
  5786. }
  5787. ],
  5788. "type": "combination"
  5789. },
  5790. "Combination63": {
  5791. "group": [
  5792. {
  5793. "id": "SessionAuth"
  5794. },
  5795. {
  5796. "id": "NewApiUser"
  5797. }
  5798. ],
  5799. "type": "combination"
  5800. },
  5801. "Combination153": {
  5802. "group": [
  5803. {
  5804. "id": "AccessToken"
  5805. },
  5806. {
  5807. "id": "NewApiUser"
  5808. }
  5809. ],
  5810. "type": "combination"
  5811. },
  5812. "Combination64": {
  5813. "group": [
  5814. {
  5815. "id": "SessionAuth"
  5816. },
  5817. {
  5818. "id": "NewApiUser"
  5819. }
  5820. ],
  5821. "type": "combination"
  5822. },
  5823. "Combination154": {
  5824. "group": [
  5825. {
  5826. "id": "AccessToken"
  5827. },
  5828. {
  5829. "id": "NewApiUser"
  5830. }
  5831. ],
  5832. "type": "combination"
  5833. },
  5834. "Combination65": {
  5835. "group": [
  5836. {
  5837. "id": "SessionAuth"
  5838. },
  5839. {
  5840. "id": "NewApiUser"
  5841. }
  5842. ],
  5843. "type": "combination"
  5844. },
  5845. "Combination155": {
  5846. "group": [
  5847. {
  5848. "id": "AccessToken"
  5849. },
  5850. {
  5851. "id": "NewApiUser"
  5852. }
  5853. ],
  5854. "type": "combination"
  5855. },
  5856. "Combination66": {
  5857. "group": [
  5858. {
  5859. "id": "SessionAuth"
  5860. },
  5861. {
  5862. "id": "NewApiUser"
  5863. }
  5864. ],
  5865. "type": "combination"
  5866. },
  5867. "Combination156": {
  5868. "group": [
  5869. {
  5870. "id": "AccessToken"
  5871. },
  5872. {
  5873. "id": "NewApiUser"
  5874. }
  5875. ],
  5876. "type": "combination"
  5877. },
  5878. "Combination67": {
  5879. "group": [
  5880. {
  5881. "id": "SessionAuth"
  5882. },
  5883. {
  5884. "id": "NewApiUser"
  5885. }
  5886. ],
  5887. "type": "combination"
  5888. },
  5889. "Combination157": {
  5890. "group": [
  5891. {
  5892. "id": "AccessToken"
  5893. },
  5894. {
  5895. "id": "NewApiUser"
  5896. }
  5897. ],
  5898. "type": "combination"
  5899. },
  5900. "Combination68": {
  5901. "group": [
  5902. {
  5903. "id": "SessionAuth"
  5904. },
  5905. {
  5906. "id": "NewApiUser"
  5907. }
  5908. ],
  5909. "type": "combination"
  5910. },
  5911. "Combination158": {
  5912. "group": [
  5913. {
  5914. "id": "AccessToken"
  5915. },
  5916. {
  5917. "id": "NewApiUser"
  5918. }
  5919. ],
  5920. "type": "combination"
  5921. },
  5922. "Combination69": {
  5923. "group": [
  5924. {
  5925. "id": "SessionAuth"
  5926. },
  5927. {
  5928. "id": "NewApiUser"
  5929. }
  5930. ],
  5931. "type": "combination"
  5932. },
  5933. "Combination159": {
  5934. "group": [
  5935. {
  5936. "id": "AccessToken"
  5937. },
  5938. {
  5939. "id": "NewApiUser"
  5940. }
  5941. ],
  5942. "type": "combination"
  5943. },
  5944. "Combination70": {
  5945. "group": [
  5946. {
  5947. "id": "SessionAuth"
  5948. },
  5949. {
  5950. "id": "NewApiUser"
  5951. }
  5952. ],
  5953. "type": "combination"
  5954. },
  5955. "Combination160": {
  5956. "group": [
  5957. {
  5958. "id": "AccessToken"
  5959. },
  5960. {
  5961. "id": "NewApiUser"
  5962. }
  5963. ],
  5964. "type": "combination"
  5965. },
  5966. "Combination71": {
  5967. "group": [
  5968. {
  5969. "id": "SessionAuth"
  5970. },
  5971. {
  5972. "id": "NewApiUser"
  5973. }
  5974. ],
  5975. "type": "combination"
  5976. },
  5977. "Combination161": {
  5978. "group": [
  5979. {
  5980. "id": "AccessToken"
  5981. },
  5982. {
  5983. "id": "NewApiUser"
  5984. }
  5985. ],
  5986. "type": "combination"
  5987. },
  5988. "Combination72": {
  5989. "group": [
  5990. {
  5991. "id": "SessionAuth"
  5992. },
  5993. {
  5994. "id": "NewApiUser"
  5995. }
  5996. ],
  5997. "type": "combination"
  5998. },
  5999. "Combination162": {
  6000. "group": [
  6001. {
  6002. "id": "AccessToken"
  6003. },
  6004. {
  6005. "id": "NewApiUser"
  6006. }
  6007. ],
  6008. "type": "combination"
  6009. },
  6010. "Combination73": {
  6011. "group": [
  6012. {
  6013. "id": "SessionAuth"
  6014. },
  6015. {
  6016. "id": "NewApiUser"
  6017. }
  6018. ],
  6019. "type": "combination"
  6020. },
  6021. "Combination163": {
  6022. "group": [
  6023. {
  6024. "id": "AccessToken"
  6025. },
  6026. {
  6027. "id": "NewApiUser"
  6028. }
  6029. ],
  6030. "type": "combination"
  6031. },
  6032. "Combination74": {
  6033. "group": [
  6034. {
  6035. "id": "SessionAuth"
  6036. },
  6037. {
  6038. "id": "NewApiUser"
  6039. }
  6040. ],
  6041. "type": "combination"
  6042. },
  6043. "Combination164": {
  6044. "group": [
  6045. {
  6046. "id": "AccessToken"
  6047. },
  6048. {
  6049. "id": "NewApiUser"
  6050. }
  6051. ],
  6052. "type": "combination"
  6053. },
  6054. "Combination75": {
  6055. "group": [
  6056. {
  6057. "id": "SessionAuth"
  6058. },
  6059. {
  6060. "id": "NewApiUser"
  6061. }
  6062. ],
  6063. "type": "combination"
  6064. },
  6065. "Combination165": {
  6066. "group": [
  6067. {
  6068. "id": "AccessToken"
  6069. },
  6070. {
  6071. "id": "NewApiUser"
  6072. }
  6073. ],
  6074. "type": "combination"
  6075. },
  6076. "Combination76": {
  6077. "group": [
  6078. {
  6079. "id": "SessionAuth"
  6080. },
  6081. {
  6082. "id": "NewApiUser"
  6083. }
  6084. ],
  6085. "type": "combination"
  6086. },
  6087. "Combination166": {
  6088. "group": [
  6089. {
  6090. "id": "AccessToken"
  6091. },
  6092. {
  6093. "id": "NewApiUser"
  6094. }
  6095. ],
  6096. "type": "combination"
  6097. },
  6098. "Combination77": {
  6099. "group": [
  6100. {
  6101. "id": "SessionAuth"
  6102. },
  6103. {
  6104. "id": "NewApiUser"
  6105. }
  6106. ],
  6107. "type": "combination"
  6108. },
  6109. "Combination167": {
  6110. "group": [
  6111. {
  6112. "id": "AccessToken"
  6113. },
  6114. {
  6115. "id": "NewApiUser"
  6116. }
  6117. ],
  6118. "type": "combination"
  6119. },
  6120. "Combination78": {
  6121. "group": [
  6122. {
  6123. "id": "SessionAuth"
  6124. },
  6125. {
  6126. "id": "NewApiUser"
  6127. }
  6128. ],
  6129. "type": "combination"
  6130. },
  6131. "Combination168": {
  6132. "group": [
  6133. {
  6134. "id": "AccessToken"
  6135. },
  6136. {
  6137. "id": "NewApiUser"
  6138. }
  6139. ],
  6140. "type": "combination"
  6141. },
  6142. "Combination79": {
  6143. "group": [
  6144. {
  6145. "id": "SessionAuth"
  6146. },
  6147. {
  6148. "id": "NewApiUser"
  6149. }
  6150. ],
  6151. "type": "combination"
  6152. },
  6153. "Combination169": {
  6154. "group": [
  6155. {
  6156. "id": "AccessToken"
  6157. },
  6158. {
  6159. "id": "NewApiUser"
  6160. }
  6161. ],
  6162. "type": "combination"
  6163. },
  6164. "Combination80": {
  6165. "group": [
  6166. {
  6167. "id": "SessionAuth"
  6168. },
  6169. {
  6170. "id": "NewApiUser"
  6171. }
  6172. ],
  6173. "type": "combination"
  6174. },
  6175. "Combination170": {
  6176. "group": [
  6177. {
  6178. "id": "AccessToken"
  6179. },
  6180. {
  6181. "id": "NewApiUser"
  6182. }
  6183. ],
  6184. "type": "combination"
  6185. },
  6186. "Combination81": {
  6187. "group": [
  6188. {
  6189. "id": "SessionAuth"
  6190. },
  6191. {
  6192. "id": "NewApiUser"
  6193. }
  6194. ],
  6195. "type": "combination"
  6196. },
  6197. "Combination171": {
  6198. "group": [
  6199. {
  6200. "id": "AccessToken"
  6201. },
  6202. {
  6203. "id": "NewApiUser"
  6204. }
  6205. ],
  6206. "type": "combination"
  6207. },
  6208. "Combination82": {
  6209. "group": [
  6210. {
  6211. "id": "SessionAuth"
  6212. },
  6213. {
  6214. "id": "NewApiUser"
  6215. }
  6216. ],
  6217. "type": "combination"
  6218. },
  6219. "Combination172": {
  6220. "group": [
  6221. {
  6222. "id": "AccessToken"
  6223. },
  6224. {
  6225. "id": "NewApiUser"
  6226. }
  6227. ],
  6228. "type": "combination"
  6229. },
  6230. "Combination83": {
  6231. "group": [
  6232. {
  6233. "id": "SessionAuth"
  6234. },
  6235. {
  6236. "id": "NewApiUser"
  6237. }
  6238. ],
  6239. "type": "combination"
  6240. },
  6241. "Combination173": {
  6242. "group": [
  6243. {
  6244. "id": "AccessToken"
  6245. },
  6246. {
  6247. "id": "NewApiUser"
  6248. }
  6249. ],
  6250. "type": "combination"
  6251. },
  6252. "Combination84": {
  6253. "group": [
  6254. {
  6255. "id": "SessionAuth"
  6256. },
  6257. {
  6258. "id": "NewApiUser"
  6259. }
  6260. ],
  6261. "type": "combination"
  6262. },
  6263. "Combination174": {
  6264. "group": [
  6265. {
  6266. "id": "AccessToken"
  6267. },
  6268. {
  6269. "id": "NewApiUser"
  6270. }
  6271. ],
  6272. "type": "combination"
  6273. },
  6274. "Combination85": {
  6275. "group": [
  6276. {
  6277. "id": "SessionAuth"
  6278. },
  6279. {
  6280. "id": "NewApiUser"
  6281. }
  6282. ],
  6283. "type": "combination"
  6284. },
  6285. "Combination175": {
  6286. "group": [
  6287. {
  6288. "id": "AccessToken"
  6289. },
  6290. {
  6291. "id": "NewApiUser"
  6292. }
  6293. ],
  6294. "type": "combination"
  6295. },
  6296. "Combination86": {
  6297. "group": [
  6298. {
  6299. "id": "SessionAuth"
  6300. },
  6301. {
  6302. "id": "NewApiUser"
  6303. }
  6304. ],
  6305. "type": "combination"
  6306. },
  6307. "Combination176": {
  6308. "group": [
  6309. {
  6310. "id": "AccessToken"
  6311. },
  6312. {
  6313. "id": "NewApiUser"
  6314. }
  6315. ],
  6316. "type": "combination"
  6317. },
  6318. "Combination87": {
  6319. "group": [
  6320. {
  6321. "id": "SessionAuth"
  6322. },
  6323. {
  6324. "id": "NewApiUser"
  6325. }
  6326. ],
  6327. "type": "combination"
  6328. },
  6329. "Combination177": {
  6330. "group": [
  6331. {
  6332. "id": "AccessToken"
  6333. },
  6334. {
  6335. "id": "NewApiUser"
  6336. }
  6337. ],
  6338. "type": "combination"
  6339. },
  6340. "Combination88": {
  6341. "group": [
  6342. {
  6343. "id": "SessionAuth"
  6344. },
  6345. {
  6346. "id": "NewApiUser"
  6347. }
  6348. ],
  6349. "type": "combination"
  6350. },
  6351. "Combination178": {
  6352. "group": [
  6353. {
  6354. "id": "AccessToken"
  6355. },
  6356. {
  6357. "id": "NewApiUser"
  6358. }
  6359. ],
  6360. "type": "combination"
  6361. },
  6362. "Combination89": {
  6363. "group": [
  6364. {
  6365. "id": "SessionAuth"
  6366. },
  6367. {
  6368. "id": "NewApiUser"
  6369. }
  6370. ],
  6371. "type": "combination"
  6372. },
  6373. "Combination179": {
  6374. "group": [
  6375. {
  6376. "id": "AccessToken"
  6377. },
  6378. {
  6379. "id": "NewApiUser"
  6380. }
  6381. ],
  6382. "type": "combination"
  6383. },
  6384. "Combination90": {
  6385. "group": [
  6386. {
  6387. "id": "SessionAuth"
  6388. },
  6389. {
  6390. "id": "NewApiUser"
  6391. }
  6392. ],
  6393. "type": "combination"
  6394. },
  6395. "Combination180": {
  6396. "group": [
  6397. {
  6398. "id": "AccessToken"
  6399. },
  6400. {
  6401. "id": "NewApiUser"
  6402. }
  6403. ],
  6404. "type": "combination"
  6405. },
  6406. "Combination91": {
  6407. "group": [
  6408. {
  6409. "id": "SessionAuth"
  6410. },
  6411. {
  6412. "id": "NewApiUser"
  6413. }
  6414. ],
  6415. "type": "combination"
  6416. },
  6417. "Combination181": {
  6418. "group": [
  6419. {
  6420. "id": "AccessToken"
  6421. },
  6422. {
  6423. "id": "NewApiUser"
  6424. }
  6425. ],
  6426. "type": "combination"
  6427. },
  6428. "Combination92": {
  6429. "group": [
  6430. {
  6431. "id": "SessionAuth"
  6432. },
  6433. {
  6434. "id": "NewApiUser"
  6435. }
  6436. ],
  6437. "type": "combination"
  6438. },
  6439. "Combination182": {
  6440. "group": [
  6441. {
  6442. "id": "AccessToken"
  6443. },
  6444. {
  6445. "id": "NewApiUser"
  6446. }
  6447. ],
  6448. "type": "combination"
  6449. },
  6450. "Combination93": {
  6451. "group": [
  6452. {
  6453. "id": "SessionAuth"
  6454. },
  6455. {
  6456. "id": "NewApiUser"
  6457. }
  6458. ],
  6459. "type": "combination"
  6460. },
  6461. "Combination183": {
  6462. "group": [
  6463. {
  6464. "id": "AccessToken"
  6465. },
  6466. {
  6467. "id": "NewApiUser"
  6468. }
  6469. ],
  6470. "type": "combination"
  6471. },
  6472. "Combination94": {
  6473. "group": [
  6474. {
  6475. "id": "SessionAuth"
  6476. },
  6477. {
  6478. "id": "NewApiUser"
  6479. }
  6480. ],
  6481. "type": "combination"
  6482. },
  6483. "Combination184": {
  6484. "group": [
  6485. {
  6486. "id": "AccessToken"
  6487. },
  6488. {
  6489. "id": "NewApiUser"
  6490. }
  6491. ],
  6492. "type": "combination"
  6493. },
  6494. "Combination95": {
  6495. "group": [
  6496. {
  6497. "id": "SessionAuth"
  6498. },
  6499. {
  6500. "id": "NewApiUser"
  6501. }
  6502. ],
  6503. "type": "combination"
  6504. },
  6505. "Combination185": {
  6506. "group": [
  6507. {
  6508. "id": "AccessToken"
  6509. },
  6510. {
  6511. "id": "NewApiUser"
  6512. }
  6513. ],
  6514. "type": "combination"
  6515. },
  6516. "Combination96": {
  6517. "group": [
  6518. {
  6519. "id": "SessionAuth"
  6520. },
  6521. {
  6522. "id": "NewApiUser"
  6523. }
  6524. ],
  6525. "type": "combination"
  6526. },
  6527. "Combination186": {
  6528. "group": [
  6529. {
  6530. "id": "AccessToken"
  6531. },
  6532. {
  6533. "id": "NewApiUser"
  6534. }
  6535. ],
  6536. "type": "combination"
  6537. },
  6538. "Combination97": {
  6539. "group": [
  6540. {
  6541. "id": "SessionAuth"
  6542. },
  6543. {
  6544. "id": "NewApiUser"
  6545. }
  6546. ],
  6547. "type": "combination"
  6548. },
  6549. "Combination187": {
  6550. "group": [
  6551. {
  6552. "id": "AccessToken"
  6553. },
  6554. {
  6555. "id": "NewApiUser"
  6556. }
  6557. ],
  6558. "type": "combination"
  6559. },
  6560. "Combination98": {
  6561. "group": [
  6562. {
  6563. "id": "SessionAuth"
  6564. },
  6565. {
  6566. "id": "NewApiUser"
  6567. }
  6568. ],
  6569. "type": "combination"
  6570. },
  6571. "Combination188": {
  6572. "group": [
  6573. {
  6574. "id": "AccessToken"
  6575. },
  6576. {
  6577. "id": "NewApiUser"
  6578. }
  6579. ],
  6580. "type": "combination"
  6581. },
  6582. "Combination99": {
  6583. "group": [
  6584. {
  6585. "id": "SessionAuth"
  6586. },
  6587. {
  6588. "id": "NewApiUser"
  6589. }
  6590. ],
  6591. "type": "combination"
  6592. },
  6593. "Combination189": {
  6594. "group": [
  6595. {
  6596. "id": "AccessToken"
  6597. },
  6598. {
  6599. "id": "NewApiUser"
  6600. }
  6601. ],
  6602. "type": "combination"
  6603. },
  6604. "Combination100": {
  6605. "group": [
  6606. {
  6607. "id": "SessionAuth"
  6608. },
  6609. {
  6610. "id": "NewApiUser"
  6611. }
  6612. ],
  6613. "type": "combination"
  6614. },
  6615. "Combination190": {
  6616. "group": [
  6617. {
  6618. "id": "AccessToken"
  6619. },
  6620. {
  6621. "id": "NewApiUser"
  6622. }
  6623. ],
  6624. "type": "combination"
  6625. },
  6626. "Combination101": {
  6627. "group": [
  6628. {
  6629. "id": "SessionAuth"
  6630. },
  6631. {
  6632. "id": "NewApiUser"
  6633. }
  6634. ],
  6635. "type": "combination"
  6636. },
  6637. "Combination191": {
  6638. "group": [
  6639. {
  6640. "id": "AccessToken"
  6641. },
  6642. {
  6643. "id": "NewApiUser"
  6644. }
  6645. ],
  6646. "type": "combination"
  6647. },
  6648. "Combination102": {
  6649. "group": [
  6650. {
  6651. "id": "SessionAuth"
  6652. },
  6653. {
  6654. "id": "NewApiUser"
  6655. }
  6656. ],
  6657. "type": "combination"
  6658. },
  6659. "Combination192": {
  6660. "group": [
  6661. {
  6662. "id": "AccessToken"
  6663. },
  6664. {
  6665. "id": "NewApiUser"
  6666. }
  6667. ],
  6668. "type": "combination"
  6669. },
  6670. "Combination103": {
  6671. "group": [
  6672. {
  6673. "id": "SessionAuth"
  6674. },
  6675. {
  6676. "id": "NewApiUser"
  6677. }
  6678. ],
  6679. "type": "combination"
  6680. },
  6681. "Combination193": {
  6682. "group": [
  6683. {
  6684. "id": "AccessToken"
  6685. },
  6686. {
  6687. "id": "NewApiUser"
  6688. }
  6689. ],
  6690. "type": "combination"
  6691. },
  6692. "Combination104": {
  6693. "group": [
  6694. {
  6695. "id": "SessionAuth"
  6696. },
  6697. {
  6698. "id": "NewApiUser"
  6699. }
  6700. ],
  6701. "type": "combination"
  6702. },
  6703. "Combination194": {
  6704. "group": [
  6705. {
  6706. "id": "AccessToken"
  6707. },
  6708. {
  6709. "id": "NewApiUser"
  6710. }
  6711. ],
  6712. "type": "combination"
  6713. },
  6714. "Combination105": {
  6715. "group": [
  6716. {
  6717. "id": "SessionAuth"
  6718. },
  6719. {
  6720. "id": "NewApiUser"
  6721. }
  6722. ],
  6723. "type": "combination"
  6724. },
  6725. "Combination195": {
  6726. "group": [
  6727. {
  6728. "id": "AccessToken"
  6729. },
  6730. {
  6731. "id": "NewApiUser"
  6732. }
  6733. ],
  6734. "type": "combination"
  6735. },
  6736. "Combination106": {
  6737. "group": [
  6738. {
  6739. "id": "SessionAuth"
  6740. },
  6741. {
  6742. "id": "NewApiUser"
  6743. }
  6744. ],
  6745. "type": "combination"
  6746. },
  6747. "Combination196": {
  6748. "group": [
  6749. {
  6750. "id": "AccessToken"
  6751. },
  6752. {
  6753. "id": "NewApiUser"
  6754. }
  6755. ],
  6756. "type": "combination"
  6757. },
  6758. "Combination107": {
  6759. "group": [
  6760. {
  6761. "id": "SessionAuth"
  6762. },
  6763. {
  6764. "id": "NewApiUser"
  6765. }
  6766. ],
  6767. "type": "combination"
  6768. },
  6769. "Combination197": {
  6770. "group": [
  6771. {
  6772. "id": "AccessToken"
  6773. },
  6774. {
  6775. "id": "NewApiUser"
  6776. }
  6777. ],
  6778. "type": "combination"
  6779. },
  6780. "Combination108": {
  6781. "group": [
  6782. {
  6783. "id": "SessionAuth"
  6784. },
  6785. {
  6786. "id": "NewApiUser"
  6787. }
  6788. ],
  6789. "type": "combination"
  6790. },
  6791. "Combination198": {
  6792. "group": [
  6793. {
  6794. "id": "AccessToken"
  6795. },
  6796. {
  6797. "id": "NewApiUser"
  6798. }
  6799. ],
  6800. "type": "combination"
  6801. },
  6802. "Combination109": {
  6803. "group": [
  6804. {
  6805. "id": "SessionAuth"
  6806. },
  6807. {
  6808. "id": "NewApiUser"
  6809. }
  6810. ],
  6811. "type": "combination"
  6812. },
  6813. "Combination199": {
  6814. "group": [
  6815. {
  6816. "id": "AccessToken"
  6817. },
  6818. {
  6819. "id": "NewApiUser"
  6820. }
  6821. ],
  6822. "type": "combination"
  6823. },
  6824. "Combination200": {
  6825. "group": [
  6826. {
  6827. "id": "SessionAuth"
  6828. },
  6829. {
  6830. "id": "NewApiUser"
  6831. }
  6832. ],
  6833. "type": "combination"
  6834. },
  6835. "Combination1100": {
  6836. "group": [
  6837. {
  6838. "id": "AccessToken"
  6839. },
  6840. {
  6841. "id": "NewApiUser"
  6842. }
  6843. ],
  6844. "type": "combination"
  6845. },
  6846. "Combination201": {
  6847. "group": [
  6848. {
  6849. "id": "SessionAuth"
  6850. },
  6851. {
  6852. "id": "NewApiUser"
  6853. }
  6854. ],
  6855. "type": "combination"
  6856. },
  6857. "Combination1101": {
  6858. "group": [
  6859. {
  6860. "id": "AccessToken"
  6861. },
  6862. {
  6863. "id": "NewApiUser"
  6864. }
  6865. ],
  6866. "type": "combination"
  6867. },
  6868. "Combination202": {
  6869. "group": [
  6870. {
  6871. "id": "SessionAuth"
  6872. },
  6873. {
  6874. "id": "NewApiUser"
  6875. }
  6876. ],
  6877. "type": "combination"
  6878. },
  6879. "Combination1102": {
  6880. "group": [
  6881. {
  6882. "id": "AccessToken"
  6883. },
  6884. {
  6885. "id": "NewApiUser"
  6886. }
  6887. ],
  6888. "type": "combination"
  6889. },
  6890. "Combination203": {
  6891. "group": [
  6892. {
  6893. "id": "SessionAuth"
  6894. },
  6895. {
  6896. "id": "NewApiUser"
  6897. }
  6898. ],
  6899. "type": "combination"
  6900. },
  6901. "Combination1103": {
  6902. "group": [
  6903. {
  6904. "id": "AccessToken"
  6905. },
  6906. {
  6907. "id": "NewApiUser"
  6908. }
  6909. ],
  6910. "type": "combination"
  6911. },
  6912. "Combination204": {
  6913. "group": [
  6914. {
  6915. "id": "SessionAuth"
  6916. },
  6917. {
  6918. "id": "NewApiUser"
  6919. }
  6920. ],
  6921. "type": "combination"
  6922. },
  6923. "Combination1104": {
  6924. "group": [
  6925. {
  6926. "id": "AccessToken"
  6927. },
  6928. {
  6929. "id": "NewApiUser"
  6930. }
  6931. ],
  6932. "type": "combination"
  6933. },
  6934. "Combination205": {
  6935. "group": [
  6936. {
  6937. "id": "SessionAuth"
  6938. },
  6939. {
  6940. "id": "NewApiUser"
  6941. }
  6942. ],
  6943. "type": "combination"
  6944. },
  6945. "Combination1105": {
  6946. "group": [
  6947. {
  6948. "id": "AccessToken"
  6949. },
  6950. {
  6951. "id": "NewApiUser"
  6952. }
  6953. ],
  6954. "type": "combination"
  6955. },
  6956. "Combination206": {
  6957. "group": [
  6958. {
  6959. "id": "SessionAuth"
  6960. },
  6961. {
  6962. "id": "NewApiUser"
  6963. }
  6964. ],
  6965. "type": "combination"
  6966. },
  6967. "Combination1106": {
  6968. "group": [
  6969. {
  6970. "id": "AccessToken"
  6971. },
  6972. {
  6973. "id": "NewApiUser"
  6974. }
  6975. ],
  6976. "type": "combination"
  6977. },
  6978. "Combination207": {
  6979. "group": [
  6980. {
  6981. "id": "SessionAuth"
  6982. },
  6983. {
  6984. "id": "NewApiUser"
  6985. }
  6986. ],
  6987. "type": "combination"
  6988. },
  6989. "Combination1107": {
  6990. "group": [
  6991. {
  6992. "id": "AccessToken"
  6993. },
  6994. {
  6995. "id": "NewApiUser"
  6996. }
  6997. ],
  6998. "type": "combination"
  6999. },
  7000. "Combination208": {
  7001. "group": [
  7002. {
  7003. "id": "SessionAuth"
  7004. },
  7005. {
  7006. "id": "NewApiUser"
  7007. }
  7008. ],
  7009. "type": "combination"
  7010. },
  7011. "Combination1108": {
  7012. "group": [
  7013. {
  7014. "id": "AccessToken"
  7015. },
  7016. {
  7017. "id": "NewApiUser"
  7018. }
  7019. ],
  7020. "type": "combination"
  7021. },
  7022. "Combination209": {
  7023. "group": [
  7024. {
  7025. "id": "SessionAuth"
  7026. },
  7027. {
  7028. "id": "NewApiUser"
  7029. }
  7030. ],
  7031. "type": "combination"
  7032. },
  7033. "Combination1109": {
  7034. "group": [
  7035. {
  7036. "id": "AccessToken"
  7037. },
  7038. {
  7039. "id": "NewApiUser"
  7040. }
  7041. ],
  7042. "type": "combination"
  7043. },
  7044. "Combination210": {
  7045. "group": [
  7046. {
  7047. "id": "SessionAuth"
  7048. },
  7049. {
  7050. "id": "NewApiUser"
  7051. }
  7052. ],
  7053. "type": "combination"
  7054. },
  7055. "Combination1110": {
  7056. "group": [
  7057. {
  7058. "id": "AccessToken"
  7059. },
  7060. {
  7061. "id": "NewApiUser"
  7062. }
  7063. ],
  7064. "type": "combination"
  7065. },
  7066. "Combination211": {
  7067. "group": [
  7068. {
  7069. "id": "SessionAuth"
  7070. },
  7071. {
  7072. "id": "NewApiUser"
  7073. }
  7074. ],
  7075. "type": "combination"
  7076. },
  7077. "Combination1111": {
  7078. "group": [
  7079. {
  7080. "id": "AccessToken"
  7081. },
  7082. {
  7083. "id": "NewApiUser"
  7084. }
  7085. ],
  7086. "type": "combination"
  7087. },
  7088. "Combination212": {
  7089. "group": [
  7090. {
  7091. "id": "SessionAuth"
  7092. },
  7093. {
  7094. "id": "NewApiUser"
  7095. }
  7096. ],
  7097. "type": "combination"
  7098. },
  7099. "Combination1112": {
  7100. "group": [
  7101. {
  7102. "id": "AccessToken"
  7103. },
  7104. {
  7105. "id": "NewApiUser"
  7106. }
  7107. ],
  7108. "type": "combination"
  7109. },
  7110. "Combination213": {
  7111. "group": [
  7112. {
  7113. "id": "SessionAuth"
  7114. },
  7115. {
  7116. "id": "NewApiUser"
  7117. }
  7118. ],
  7119. "type": "combination"
  7120. },
  7121. "Combination1113": {
  7122. "group": [
  7123. {
  7124. "id": "AccessToken"
  7125. },
  7126. {
  7127. "id": "NewApiUser"
  7128. }
  7129. ],
  7130. "type": "combination"
  7131. },
  7132. "Combination214": {
  7133. "group": [
  7134. {
  7135. "id": "SessionAuth"
  7136. },
  7137. {
  7138. "id": "NewApiUser"
  7139. }
  7140. ],
  7141. "type": "combination"
  7142. },
  7143. "Combination1114": {
  7144. "group": [
  7145. {
  7146. "id": "AccessToken"
  7147. },
  7148. {
  7149. "id": "NewApiUser"
  7150. }
  7151. ],
  7152. "type": "combination"
  7153. },
  7154. "Combination215": {
  7155. "group": [
  7156. {
  7157. "id": "SessionAuth"
  7158. },
  7159. {
  7160. "id": "NewApiUser"
  7161. }
  7162. ],
  7163. "type": "combination"
  7164. },
  7165. "Combination1115": {
  7166. "group": [
  7167. {
  7168. "id": "AccessToken"
  7169. },
  7170. {
  7171. "id": "NewApiUser"
  7172. }
  7173. ],
  7174. "type": "combination"
  7175. },
  7176. "Combination216": {
  7177. "group": [
  7178. {
  7179. "id": "SessionAuth"
  7180. },
  7181. {
  7182. "id": "NewApiUser"
  7183. }
  7184. ],
  7185. "type": "combination"
  7186. },
  7187. "Combination1116": {
  7188. "group": [
  7189. {
  7190. "id": "AccessToken"
  7191. },
  7192. {
  7193. "id": "NewApiUser"
  7194. }
  7195. ],
  7196. "type": "combination"
  7197. },
  7198. "Combination217": {
  7199. "group": [
  7200. {
  7201. "id": "SessionAuth"
  7202. },
  7203. {
  7204. "id": "NewApiUser"
  7205. }
  7206. ],
  7207. "type": "combination"
  7208. },
  7209. "Combination1117": {
  7210. "group": [
  7211. {
  7212. "id": "AccessToken"
  7213. },
  7214. {
  7215. "id": "NewApiUser"
  7216. }
  7217. ],
  7218. "type": "combination"
  7219. },
  7220. "Combination218": {
  7221. "group": [
  7222. {
  7223. "id": "SessionAuth"
  7224. },
  7225. {
  7226. "id": "NewApiUser"
  7227. }
  7228. ],
  7229. "type": "combination"
  7230. },
  7231. "Combination1118": {
  7232. "group": [
  7233. {
  7234. "id": "AccessToken"
  7235. },
  7236. {
  7237. "id": "NewApiUser"
  7238. }
  7239. ],
  7240. "type": "combination"
  7241. },
  7242. "Combination219": {
  7243. "group": [
  7244. {
  7245. "id": "SessionAuth"
  7246. },
  7247. {
  7248. "id": "NewApiUser"
  7249. }
  7250. ],
  7251. "type": "combination"
  7252. },
  7253. "Combination1119": {
  7254. "group": [
  7255. {
  7256. "id": "AccessToken"
  7257. },
  7258. {
  7259. "id": "NewApiUser"
  7260. }
  7261. ],
  7262. "type": "combination"
  7263. },
  7264. "Combination220": {
  7265. "group": [
  7266. {
  7267. "id": "SessionAuth"
  7268. },
  7269. {
  7270. "id": "NewApiUser"
  7271. }
  7272. ],
  7273. "type": "combination"
  7274. },
  7275. "Combination1120": {
  7276. "group": [
  7277. {
  7278. "id": "AccessToken"
  7279. },
  7280. {
  7281. "id": "NewApiUser"
  7282. }
  7283. ],
  7284. "type": "combination"
  7285. }
  7286. }
  7287. },
  7288. "servers": [],
  7289. "security": [
  7290. {
  7291. "BearerAuth": []
  7292. }
  7293. ]
  7294. }