relay.json 166 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242
  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. "max_tokens": {
  3285. "type": "integer",
  3286. "minimum": 1
  3287. },
  3288. "temperature": {
  3289. "type": "number",
  3290. "minimum": 0,
  3291. "maximum": 1
  3292. },
  3293. "top_p": {
  3294. "type": "number"
  3295. },
  3296. "top_k": {
  3297. "type": "integer"
  3298. },
  3299. "stream": {
  3300. "type": "boolean"
  3301. },
  3302. "stop_sequences": {
  3303. "type": "array",
  3304. "items": {
  3305. "type": "string"
  3306. }
  3307. },
  3308. "tools": {
  3309. "type": "array",
  3310. "items": {
  3311. "type": "object",
  3312. "properties": {
  3313. "name": {
  3314. "type": "string"
  3315. },
  3316. "description": {
  3317. "type": "string"
  3318. },
  3319. "input_schema": {
  3320. "type": "object",
  3321. "properties": {}
  3322. }
  3323. }
  3324. }
  3325. },
  3326. "tool_choice": {
  3327. "oneOf": [
  3328. {
  3329. "type": "object",
  3330. "properties": {
  3331. "type": {
  3332. "type": "string",
  3333. "enum": [
  3334. "auto",
  3335. "any",
  3336. "tool"
  3337. ]
  3338. },
  3339. "name": {
  3340. "type": "string"
  3341. }
  3342. }
  3343. }
  3344. ]
  3345. },
  3346. "thinking": {
  3347. "type": "object",
  3348. "properties": {
  3349. "type": {
  3350. "type": "string",
  3351. "enum": [
  3352. "enabled",
  3353. "disabled"
  3354. ]
  3355. },
  3356. "budget_tokens": {
  3357. "type": "integer"
  3358. }
  3359. }
  3360. },
  3361. "metadata": {
  3362. "type": "object",
  3363. "properties": {
  3364. "user_id": {
  3365. "type": "string"
  3366. }
  3367. }
  3368. }
  3369. }
  3370. },
  3371. "ClaudeMessage": {
  3372. "type": "object",
  3373. "required": [
  3374. "role",
  3375. "content"
  3376. ],
  3377. "properties": {
  3378. "role": {
  3379. "type": "string",
  3380. "enum": [
  3381. "user",
  3382. "assistant"
  3383. ]
  3384. },
  3385. "content": {
  3386. "oneOf": [
  3387. {
  3388. "type": "string"
  3389. },
  3390. {
  3391. "type": "array",
  3392. "items": {
  3393. "type": "object",
  3394. "properties": {
  3395. "type": {
  3396. "type": "string",
  3397. "enum": [
  3398. "text",
  3399. "image",
  3400. "tool_use",
  3401. "tool_result"
  3402. ]
  3403. },
  3404. "text": {
  3405. "type": "string"
  3406. },
  3407. "source": {
  3408. "type": "object",
  3409. "properties": {
  3410. "type": {
  3411. "type": "string",
  3412. "enum": [
  3413. "base64",
  3414. "url"
  3415. ]
  3416. },
  3417. "media_type": {
  3418. "type": "string"
  3419. },
  3420. "data": {
  3421. "type": "string"
  3422. },
  3423. "url": {
  3424. "type": "string"
  3425. }
  3426. }
  3427. },
  3428. "id": {
  3429. "type": "string"
  3430. },
  3431. "name": {
  3432. "type": "string"
  3433. },
  3434. "input": {
  3435. "type": "object",
  3436. "properties": {}
  3437. },
  3438. "tool_use_id": {
  3439. "type": "string"
  3440. },
  3441. "content": {
  3442. "type": "string"
  3443. }
  3444. }
  3445. }
  3446. }
  3447. ]
  3448. }
  3449. }
  3450. },
  3451. "ClaudeResponse": {
  3452. "type": "object",
  3453. "properties": {
  3454. "id": {
  3455. "type": "string"
  3456. },
  3457. "type": {
  3458. "type": "string",
  3459. "example": "message"
  3460. },
  3461. "role": {
  3462. "type": "string",
  3463. "example": "assistant"
  3464. },
  3465. "content": {
  3466. "type": "array",
  3467. "items": {
  3468. "type": "object",
  3469. "properties": {
  3470. "type": {
  3471. "type": "string"
  3472. },
  3473. "text": {
  3474. "type": "string"
  3475. }
  3476. }
  3477. }
  3478. },
  3479. "model": {
  3480. "type": "string"
  3481. },
  3482. "stop_reason": {
  3483. "type": "string",
  3484. "enum": [
  3485. "end_turn",
  3486. "max_tokens",
  3487. "stop_sequence",
  3488. "tool_use"
  3489. ]
  3490. },
  3491. "usage": {
  3492. "type": "object",
  3493. "properties": {
  3494. "input_tokens": {
  3495. "type": "integer"
  3496. },
  3497. "output_tokens": {
  3498. "type": "integer"
  3499. },
  3500. "cache_creation_input_tokens": {
  3501. "type": "integer"
  3502. },
  3503. "cache_read_input_tokens": {
  3504. "type": "integer"
  3505. }
  3506. }
  3507. }
  3508. }
  3509. },
  3510. "EmbeddingRequest": {
  3511. "type": "object",
  3512. "required": [
  3513. "model",
  3514. "input"
  3515. ],
  3516. "properties": {
  3517. "model": {
  3518. "type": "string",
  3519. "example": "text-embedding-ada-002"
  3520. },
  3521. "input": {
  3522. "oneOf": [
  3523. {
  3524. "type": "string"
  3525. },
  3526. {
  3527. "type": "array",
  3528. "items": {
  3529. "type": "string"
  3530. }
  3531. }
  3532. ],
  3533. "description": "要嵌入的文本"
  3534. },
  3535. "encoding_format": {
  3536. "type": "string",
  3537. "enum": [
  3538. "float",
  3539. "base64"
  3540. ],
  3541. "default": "float"
  3542. },
  3543. "dimensions": {
  3544. "type": "integer",
  3545. "description": "输出向量维度"
  3546. }
  3547. }
  3548. },
  3549. "EmbeddingResponse": {
  3550. "type": "object",
  3551. "properties": {
  3552. "object": {
  3553. "type": "string",
  3554. "example": "list"
  3555. },
  3556. "data": {
  3557. "type": "array",
  3558. "items": {
  3559. "type": "object",
  3560. "properties": {
  3561. "object": {
  3562. "type": "string",
  3563. "example": "embedding"
  3564. },
  3565. "index": {
  3566. "type": "integer"
  3567. },
  3568. "embedding": {
  3569. "type": "array",
  3570. "items": {
  3571. "type": "number"
  3572. }
  3573. }
  3574. }
  3575. }
  3576. },
  3577. "model": {
  3578. "type": "string"
  3579. },
  3580. "usage": {
  3581. "type": "object",
  3582. "properties": {
  3583. "prompt_tokens": {
  3584. "type": "integer"
  3585. },
  3586. "total_tokens": {
  3587. "type": "integer"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "ImageGenerationRequest": {
  3594. "type": "object",
  3595. "required": [
  3596. "prompt"
  3597. ],
  3598. "properties": {
  3599. "model": {
  3600. "type": "string",
  3601. "example": "dall-e-3"
  3602. },
  3603. "prompt": {
  3604. "type": "string",
  3605. "description": "图像描述"
  3606. },
  3607. "n": {
  3608. "type": "integer",
  3609. "minimum": 1,
  3610. "maximum": 10,
  3611. "default": 1
  3612. },
  3613. "size": {
  3614. "type": "string",
  3615. "enum": [
  3616. "256x256",
  3617. "512x512",
  3618. "1024x1024",
  3619. "1792x1024",
  3620. "1024x1792"
  3621. ],
  3622. "default": "1024x1024"
  3623. },
  3624. "quality": {
  3625. "type": "string",
  3626. "enum": [
  3627. "standard",
  3628. "hd"
  3629. ],
  3630. "default": "standard"
  3631. },
  3632. "style": {
  3633. "type": "string",
  3634. "enum": [
  3635. "vivid",
  3636. "natural"
  3637. ],
  3638. "default": "vivid"
  3639. },
  3640. "response_format": {
  3641. "type": "string",
  3642. "enum": [
  3643. "url",
  3644. "b64_json"
  3645. ],
  3646. "default": "url"
  3647. },
  3648. "user": {
  3649. "type": "string"
  3650. }
  3651. }
  3652. },
  3653. "ImageEditRequest": {
  3654. "type": "object",
  3655. "required": [
  3656. "image",
  3657. "prompt"
  3658. ],
  3659. "properties": {
  3660. "image": {
  3661. "type": "string",
  3662. "format": "binary"
  3663. },
  3664. "mask": {
  3665. "type": "string",
  3666. "format": "binary"
  3667. },
  3668. "prompt": {
  3669. "type": "string"
  3670. },
  3671. "model": {
  3672. "type": "string"
  3673. },
  3674. "n": {
  3675. "type": "integer"
  3676. },
  3677. "size": {
  3678. "type": "string"
  3679. },
  3680. "response_format": {
  3681. "type": "string"
  3682. }
  3683. }
  3684. },
  3685. "ImageResponse": {
  3686. "type": "object",
  3687. "properties": {
  3688. "created": {
  3689. "type": "integer"
  3690. },
  3691. "data": {
  3692. "type": "array",
  3693. "items": {
  3694. "type": "object",
  3695. "properties": {
  3696. "url": {
  3697. "type": "string"
  3698. },
  3699. "b64_json": {
  3700. "type": "string"
  3701. },
  3702. "revised_prompt": {
  3703. "type": "string"
  3704. }
  3705. }
  3706. }
  3707. }
  3708. }
  3709. },
  3710. "AudioTranscriptionRequest": {
  3711. "type": "object",
  3712. "required": [
  3713. "file",
  3714. "model"
  3715. ],
  3716. "properties": {
  3717. "file": {
  3718. "type": "string",
  3719. "format": "binary",
  3720. "description": "音频文件"
  3721. },
  3722. "model": {
  3723. "type": "string",
  3724. "example": "whisper-1"
  3725. },
  3726. "language": {
  3727. "type": "string",
  3728. "description": "ISO-639-1 语言代码"
  3729. },
  3730. "prompt": {
  3731. "type": "string"
  3732. },
  3733. "response_format": {
  3734. "type": "string",
  3735. "enum": [
  3736. "json",
  3737. "text",
  3738. "srt",
  3739. "verbose_json",
  3740. "vtt"
  3741. ],
  3742. "default": "json"
  3743. },
  3744. "temperature": {
  3745. "type": "number"
  3746. },
  3747. "timestamp_granularities": {
  3748. "type": "array",
  3749. "items": {
  3750. "type": "string",
  3751. "enum": [
  3752. "word",
  3753. "segment"
  3754. ]
  3755. }
  3756. }
  3757. }
  3758. },
  3759. "AudioTranslationRequest": {
  3760. "type": "object",
  3761. "required": [
  3762. "file",
  3763. "model"
  3764. ],
  3765. "properties": {
  3766. "file": {
  3767. "type": "string",
  3768. "format": "binary"
  3769. },
  3770. "model": {
  3771. "type": "string"
  3772. },
  3773. "prompt": {
  3774. "type": "string"
  3775. },
  3776. "response_format": {
  3777. "type": "string"
  3778. },
  3779. "temperature": {
  3780. "type": "number"
  3781. }
  3782. }
  3783. },
  3784. "AudioTranscriptionResponse": {
  3785. "type": "object",
  3786. "properties": {
  3787. "text": {
  3788. "type": "string"
  3789. }
  3790. }
  3791. },
  3792. "SpeechRequest": {
  3793. "type": "object",
  3794. "required": [
  3795. "model",
  3796. "input",
  3797. "voice"
  3798. ],
  3799. "properties": {
  3800. "model": {
  3801. "type": "string",
  3802. "example": "tts-1"
  3803. },
  3804. "input": {
  3805. "type": "string",
  3806. "description": "要转换的文本",
  3807. "maxLength": 4096
  3808. },
  3809. "voice": {
  3810. "type": "string",
  3811. "enum": [
  3812. "alloy",
  3813. "echo",
  3814. "fable",
  3815. "onyx",
  3816. "nova",
  3817. "shimmer"
  3818. ]
  3819. },
  3820. "response_format": {
  3821. "type": "string",
  3822. "enum": [
  3823. "mp3",
  3824. "opus",
  3825. "aac",
  3826. "flac",
  3827. "wav",
  3828. "pcm"
  3829. ],
  3830. "default": "mp3"
  3831. },
  3832. "speed": {
  3833. "type": "number",
  3834. "minimum": 0.25,
  3835. "maximum": 4,
  3836. "default": 1
  3837. }
  3838. }
  3839. },
  3840. "RerankRequest": {
  3841. "type": "object",
  3842. "required": [
  3843. "model",
  3844. "query",
  3845. "documents"
  3846. ],
  3847. "properties": {
  3848. "model": {
  3849. "type": "string",
  3850. "example": "rerank-english-v2.0"
  3851. },
  3852. "query": {
  3853. "type": "string",
  3854. "description": "查询文本"
  3855. },
  3856. "documents": {
  3857. "type": "array",
  3858. "items": {
  3859. "oneOf": [
  3860. {
  3861. "type": "string"
  3862. },
  3863. {
  3864. "type": "object",
  3865. "properties": {}
  3866. }
  3867. ]
  3868. },
  3869. "description": "要重排序的文档列表"
  3870. },
  3871. "top_n": {
  3872. "type": "integer",
  3873. "description": "返回前 N 个结果"
  3874. },
  3875. "return_documents": {
  3876. "type": "boolean",
  3877. "default": false
  3878. }
  3879. }
  3880. },
  3881. "RerankResponse": {
  3882. "type": "object",
  3883. "properties": {
  3884. "id": {
  3885. "type": "string"
  3886. },
  3887. "results": {
  3888. "type": "array",
  3889. "items": {
  3890. "type": "object",
  3891. "properties": {
  3892. "index": {
  3893. "type": "integer"
  3894. },
  3895. "relevance_score": {
  3896. "type": "number"
  3897. },
  3898. "document": {
  3899. "type": "object",
  3900. "properties": {}
  3901. }
  3902. }
  3903. }
  3904. },
  3905. "meta": {
  3906. "type": "object",
  3907. "properties": {}
  3908. }
  3909. }
  3910. },
  3911. "ModerationRequest": {
  3912. "type": "object",
  3913. "required": [
  3914. "input"
  3915. ],
  3916. "properties": {
  3917. "input": {
  3918. "oneOf": [
  3919. {
  3920. "type": "string"
  3921. },
  3922. {
  3923. "type": "array",
  3924. "items": {
  3925. "type": "string"
  3926. }
  3927. }
  3928. ]
  3929. },
  3930. "model": {
  3931. "type": "string",
  3932. "example": "text-moderation-latest"
  3933. }
  3934. }
  3935. },
  3936. "ModerationResponse": {
  3937. "type": "object",
  3938. "properties": {
  3939. "id": {
  3940. "type": "string"
  3941. },
  3942. "model": {
  3943. "type": "string"
  3944. },
  3945. "results": {
  3946. "type": "array",
  3947. "items": {
  3948. "type": "object",
  3949. "properties": {
  3950. "flagged": {
  3951. "type": "boolean"
  3952. },
  3953. "categories": {
  3954. "type": "object",
  3955. "properties": {}
  3956. },
  3957. "category_scores": {
  3958. "type": "object",
  3959. "properties": {}
  3960. }
  3961. }
  3962. }
  3963. }
  3964. }
  3965. },
  3966. "GeminiRequest": {
  3967. "type": "object",
  3968. "properties": {
  3969. "contents": {
  3970. "type": "array",
  3971. "items": {
  3972. "type": "object",
  3973. "properties": {
  3974. "role": {
  3975. "type": "string",
  3976. "enum": [
  3977. "user",
  3978. "model"
  3979. ]
  3980. },
  3981. "parts": {
  3982. "type": "array",
  3983. "items": {
  3984. "type": "object",
  3985. "properties": {
  3986. "text": {
  3987. "type": "string"
  3988. },
  3989. "inlineData": {
  3990. "type": "object",
  3991. "properties": {
  3992. "mimeType": {
  3993. "type": "string"
  3994. },
  3995. "data": {
  3996. "type": "string"
  3997. }
  3998. }
  3999. }
  4000. }
  4001. }
  4002. }
  4003. }
  4004. }
  4005. },
  4006. "generationConfig": {
  4007. "type": "object",
  4008. "properties": {
  4009. "temperature": {
  4010. "type": "number"
  4011. },
  4012. "topP": {
  4013. "type": "number"
  4014. },
  4015. "topK": {
  4016. "type": "integer"
  4017. },
  4018. "maxOutputTokens": {
  4019. "type": "integer"
  4020. },
  4021. "stopSequences": {
  4022. "type": "array",
  4023. "items": {
  4024. "type": "string"
  4025. }
  4026. }
  4027. }
  4028. },
  4029. "safetySettings": {
  4030. "type": "array",
  4031. "items": {
  4032. "type": "object",
  4033. "properties": {
  4034. "category": {
  4035. "type": "string"
  4036. },
  4037. "threshold": {
  4038. "type": "string"
  4039. }
  4040. }
  4041. }
  4042. },
  4043. "tools": {
  4044. "type": "array",
  4045. "items": {
  4046. "type": "object",
  4047. "properties": {}
  4048. }
  4049. },
  4050. "systemInstruction": {
  4051. "type": "object",
  4052. "properties": {
  4053. "parts": {
  4054. "type": "array",
  4055. "items": {
  4056. "type": "object",
  4057. "properties": {}
  4058. }
  4059. }
  4060. }
  4061. }
  4062. }
  4063. },
  4064. "GeminiResponse": {
  4065. "type": "object",
  4066. "properties": {
  4067. "candidates": {
  4068. "type": "array",
  4069. "items": {
  4070. "type": "object",
  4071. "properties": {
  4072. "content": {
  4073. "type": "object",
  4074. "properties": {
  4075. "role": {
  4076. "type": "string"
  4077. },
  4078. "parts": {
  4079. "type": "array",
  4080. "items": {
  4081. "type": "object",
  4082. "properties": {}
  4083. }
  4084. }
  4085. }
  4086. },
  4087. "finishReason": {
  4088. "type": "string"
  4089. },
  4090. "safetyRatings": {
  4091. "type": "array",
  4092. "items": {
  4093. "type": "object",
  4094. "properties": {}
  4095. }
  4096. }
  4097. }
  4098. }
  4099. },
  4100. "usageMetadata": {
  4101. "type": "object",
  4102. "properties": {
  4103. "promptTokenCount": {
  4104. "type": "integer"
  4105. },
  4106. "candidatesTokenCount": {
  4107. "type": "integer"
  4108. },
  4109. "totalTokenCount": {
  4110. "type": "integer"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "VideoRequest": {
  4117. "type": "object",
  4118. "description": "视频生成请求",
  4119. "properties": {
  4120. "model": {
  4121. "type": "string",
  4122. "description": "模型/风格 ID",
  4123. "example": "kling-v1"
  4124. },
  4125. "prompt": {
  4126. "type": "string",
  4127. "description": "文本描述提示词",
  4128. "example": "宇航员站起身走了"
  4129. },
  4130. "image": {
  4131. "type": "string",
  4132. "description": "图片输入 (URL 或 Base64)",
  4133. "example": "https://example.com/image.jpg"
  4134. },
  4135. "duration": {
  4136. "type": "number",
  4137. "description": "视频时长(秒)",
  4138. "example": 5
  4139. },
  4140. "width": {
  4141. "type": "integer",
  4142. "description": "视频宽度",
  4143. "example": 1280
  4144. },
  4145. "height": {
  4146. "type": "integer",
  4147. "description": "视频高度",
  4148. "example": 720
  4149. },
  4150. "fps": {
  4151. "type": "integer",
  4152. "description": "视频帧率",
  4153. "example": 30
  4154. },
  4155. "seed": {
  4156. "type": "integer",
  4157. "description": "随机种子",
  4158. "example": 20231234
  4159. },
  4160. "n": {
  4161. "type": "integer",
  4162. "description": "生成视频数量",
  4163. "example": 1
  4164. },
  4165. "response_format": {
  4166. "type": "string",
  4167. "description": "响应格式",
  4168. "example": "url"
  4169. },
  4170. "user": {
  4171. "type": "string",
  4172. "description": "用户标识",
  4173. "example": "user-1234"
  4174. },
  4175. "metadata": {
  4176. "type": "object",
  4177. "description": "扩展参数 (如 negative_prompt, style, quality_level 等)",
  4178. "additionalProperties": true,
  4179. "properties": {}
  4180. }
  4181. }
  4182. },
  4183. "VideoResponse": {
  4184. "type": "object",
  4185. "description": "视频生成任务提交响应",
  4186. "properties": {
  4187. "task_id": {
  4188. "type": "string",
  4189. "description": "任务 ID",
  4190. "example": "abcd1234efgh"
  4191. },
  4192. "status": {
  4193. "type": "string",
  4194. "description": "任务状态",
  4195. "example": "queued"
  4196. }
  4197. }
  4198. },
  4199. "VideoTaskResponse": {
  4200. "type": "object",
  4201. "description": "视频任务状态查询响应",
  4202. "properties": {
  4203. "task_id": {
  4204. "type": "string",
  4205. "description": "任务 ID",
  4206. "example": "abcd1234efgh"
  4207. },
  4208. "status": {
  4209. "type": "string",
  4210. "description": "任务状态",
  4211. "enum": [
  4212. "queued",
  4213. "in_progress",
  4214. "completed",
  4215. "failed"
  4216. ],
  4217. "example": "completed"
  4218. },
  4219. "url": {
  4220. "type": "string",
  4221. "description": "视频资源 URL(成功时)",
  4222. "example": "https://example.com/video.mp4"
  4223. },
  4224. "format": {
  4225. "type": "string",
  4226. "description": "视频格式",
  4227. "example": "mp4"
  4228. },
  4229. "metadata": {
  4230. "$ref": "#/components/schemas/VideoTaskMetadata"
  4231. },
  4232. "error": {
  4233. "$ref": "#/components/schemas/VideoTaskError"
  4234. }
  4235. }
  4236. },
  4237. "VideoTaskMetadata": {
  4238. "type": "object",
  4239. "description": "视频任务元数据",
  4240. "properties": {
  4241. "duration": {
  4242. "type": "number",
  4243. "description": "实际生成的视频时长",
  4244. "example": 5
  4245. },
  4246. "fps": {
  4247. "type": "integer",
  4248. "description": "实际帧率",
  4249. "example": 30
  4250. },
  4251. "width": {
  4252. "type": "integer",
  4253. "description": "实际宽度",
  4254. "example": 1280
  4255. },
  4256. "height": {
  4257. "type": "integer",
  4258. "description": "实际高度",
  4259. "example": 720
  4260. },
  4261. "seed": {
  4262. "type": "integer",
  4263. "description": "使用的随机种子",
  4264. "example": 20231234
  4265. }
  4266. }
  4267. },
  4268. "VideoTaskError": {
  4269. "type": "object",
  4270. "description": "视频任务错误信息",
  4271. "properties": {
  4272. "code": {
  4273. "type": "integer",
  4274. "description": "错误码"
  4275. },
  4276. "message": {
  4277. "type": "string",
  4278. "description": "错误信息"
  4279. }
  4280. }
  4281. },
  4282. "OpenAIVideo": {
  4283. "type": "object",
  4284. "description": "OpenAI 兼容的视频对象",
  4285. "properties": {
  4286. "id": {
  4287. "type": "string",
  4288. "description": "视频 ID",
  4289. "example": "video-abc123"
  4290. },
  4291. "task_id": {
  4292. "type": "string",
  4293. "description": "任务 ID (兼容旧接口)",
  4294. "deprecated": true
  4295. },
  4296. "object": {
  4297. "type": "string",
  4298. "description": "对象类型",
  4299. "example": "video"
  4300. },
  4301. "model": {
  4302. "type": "string",
  4303. "description": "使用的模型",
  4304. "example": "sora"
  4305. },
  4306. "status": {
  4307. "type": "string",
  4308. "description": "任务状态",
  4309. "enum": [
  4310. "queued",
  4311. "in_progress",
  4312. "completed",
  4313. "failed"
  4314. ],
  4315. "example": "completed"
  4316. },
  4317. "progress": {
  4318. "type": "integer",
  4319. "description": "进度百分比",
  4320. "example": 100
  4321. },
  4322. "created_at": {
  4323. "type": "integer",
  4324. "description": "创建时间戳"
  4325. },
  4326. "completed_at": {
  4327. "type": "integer",
  4328. "description": "完成时间戳"
  4329. },
  4330. "expires_at": {
  4331. "type": "integer",
  4332. "description": "过期时间戳"
  4333. },
  4334. "seconds": {
  4335. "type": "string",
  4336. "description": "视频时长"
  4337. },
  4338. "size": {
  4339. "type": "string",
  4340. "description": "视频尺寸"
  4341. },
  4342. "remixed_from_video_id": {
  4343. "type": "string",
  4344. "description": "源视频 ID(如果是基于其他视频生成)"
  4345. },
  4346. "error": {
  4347. "$ref": "#/components/schemas/OpenAIVideoError"
  4348. },
  4349. "metadata": {
  4350. "type": "object",
  4351. "description": "额外元数据",
  4352. "additionalProperties": true,
  4353. "properties": {}
  4354. }
  4355. }
  4356. },
  4357. "OpenAIVideoError": {
  4358. "type": "object",
  4359. "description": "OpenAI 视频错误信息",
  4360. "properties": {
  4361. "message": {
  4362. "type": "string",
  4363. "description": "错误信息"
  4364. },
  4365. "code": {
  4366. "type": "string",
  4367. "description": "错误码"
  4368. }
  4369. }
  4370. },
  4371. "ApiResponse": {
  4372. "type": "object",
  4373. "properties": {
  4374. "success": {
  4375. "type": "boolean"
  4376. },
  4377. "message": {
  4378. "type": "string"
  4379. },
  4380. "data": {}
  4381. }
  4382. },
  4383. "PageInfo": {
  4384. "type": "object",
  4385. "properties": {
  4386. "page": {
  4387. "type": "integer"
  4388. },
  4389. "page_size": {
  4390. "type": "integer"
  4391. },
  4392. "total": {
  4393. "type": "integer"
  4394. },
  4395. "items": {
  4396. "type": "array",
  4397. "items": {}
  4398. }
  4399. }
  4400. },
  4401. "User": {
  4402. "type": "object",
  4403. "properties": {
  4404. "id": {
  4405. "type": "integer"
  4406. },
  4407. "username": {
  4408. "type": "string"
  4409. },
  4410. "display_name": {
  4411. "type": "string"
  4412. },
  4413. "role": {
  4414. "type": "integer"
  4415. },
  4416. "status": {
  4417. "type": "integer"
  4418. },
  4419. "email": {
  4420. "type": "string"
  4421. },
  4422. "group": {
  4423. "type": "string"
  4424. },
  4425. "quota": {
  4426. "type": "integer"
  4427. },
  4428. "used_quota": {
  4429. "type": "integer"
  4430. },
  4431. "request_count": {
  4432. "type": "integer"
  4433. }
  4434. }
  4435. },
  4436. "Channel": {
  4437. "type": "object",
  4438. "properties": {
  4439. "id": {
  4440. "type": "integer"
  4441. },
  4442. "name": {
  4443. "type": "string"
  4444. },
  4445. "type": {
  4446. "type": "integer"
  4447. },
  4448. "status": {
  4449. "type": "integer"
  4450. },
  4451. "models": {
  4452. "type": "string"
  4453. },
  4454. "groups": {
  4455. "type": "string"
  4456. },
  4457. "priority": {
  4458. "type": "integer"
  4459. },
  4460. "weight": {
  4461. "type": "integer"
  4462. },
  4463. "base_url": {
  4464. "type": "string"
  4465. },
  4466. "tag": {
  4467. "type": "string"
  4468. }
  4469. }
  4470. },
  4471. "Token": {
  4472. "type": "object",
  4473. "properties": {
  4474. "id": {
  4475. "type": "integer"
  4476. },
  4477. "user_id": {
  4478. "type": "integer"
  4479. },
  4480. "name": {
  4481. "type": "string"
  4482. },
  4483. "key": {
  4484. "type": "string"
  4485. },
  4486. "status": {
  4487. "type": "integer"
  4488. },
  4489. "expired_time": {
  4490. "type": "integer"
  4491. },
  4492. "remain_quota": {
  4493. "type": "integer"
  4494. },
  4495. "unlimited_quota": {
  4496. "type": "boolean"
  4497. }
  4498. }
  4499. },
  4500. "Redemption": {
  4501. "type": "object",
  4502. "properties": {
  4503. "id": {
  4504. "type": "integer"
  4505. },
  4506. "name": {
  4507. "type": "string"
  4508. },
  4509. "key": {
  4510. "type": "string"
  4511. },
  4512. "status": {
  4513. "type": "integer"
  4514. },
  4515. "quota": {
  4516. "type": "integer"
  4517. },
  4518. "created_time": {
  4519. "type": "integer"
  4520. },
  4521. "redeemed_time": {
  4522. "type": "integer"
  4523. }
  4524. }
  4525. },
  4526. "Log": {
  4527. "type": "object",
  4528. "properties": {
  4529. "id": {
  4530. "type": "integer"
  4531. },
  4532. "user_id": {
  4533. "type": "integer"
  4534. },
  4535. "type": {
  4536. "type": "integer"
  4537. },
  4538. "content": {
  4539. "type": "string"
  4540. },
  4541. "created_at": {
  4542. "type": "integer"
  4543. }
  4544. }
  4545. }
  4546. },
  4547. "responses": {},
  4548. "securitySchemes": {
  4549. "BearerAuth": {
  4550. "type": "http",
  4551. "scheme": "bearer",
  4552. "description": "使用 Bearer Token 认证。\n格式: `Authorization: Bearer sk-xxxxxx`\n"
  4553. },
  4554. "SessionAuth": {
  4555. "type": "apiKey",
  4556. "in": "cookie",
  4557. "name": "session",
  4558. "description": "Session认证,通过登录接口获取"
  4559. },
  4560. "AccessToken": {
  4561. "type": "apiKey",
  4562. "in": "header",
  4563. "name": "Authorization",
  4564. "description": "Access Token认证,格式: Bearer {access_token},通过 /api/user/token 接口生成"
  4565. },
  4566. "NewApiUser": {
  4567. "type": "apiKey",
  4568. "in": "header",
  4569. "name": "New-Api-User",
  4570. "description": "用户ID请求头,必须与当前登录用户ID匹配,使用Session或AccessToken认证时必须提供"
  4571. },
  4572. "Combination": {
  4573. "group": [
  4574. {
  4575. "id": "SessionAuth"
  4576. },
  4577. {
  4578. "id": "NewApiUser"
  4579. }
  4580. ],
  4581. "type": "combination"
  4582. },
  4583. "Combination1": {
  4584. "group": [
  4585. {
  4586. "id": "AccessToken"
  4587. },
  4588. {
  4589. "id": "NewApiUser"
  4590. }
  4591. ],
  4592. "type": "combination"
  4593. },
  4594. "Combination2": {
  4595. "group": [
  4596. {
  4597. "id": "SessionAuth"
  4598. },
  4599. {
  4600. "id": "NewApiUser"
  4601. }
  4602. ],
  4603. "type": "combination"
  4604. },
  4605. "Combination11": {
  4606. "group": [
  4607. {
  4608. "id": "AccessToken"
  4609. },
  4610. {
  4611. "id": "NewApiUser"
  4612. }
  4613. ],
  4614. "type": "combination"
  4615. },
  4616. "Combination3": {
  4617. "group": [
  4618. {
  4619. "id": "SessionAuth"
  4620. },
  4621. {
  4622. "id": "NewApiUser"
  4623. }
  4624. ],
  4625. "type": "combination"
  4626. },
  4627. "Combination12": {
  4628. "group": [
  4629. {
  4630. "id": "AccessToken"
  4631. },
  4632. {
  4633. "id": "NewApiUser"
  4634. }
  4635. ],
  4636. "type": "combination"
  4637. },
  4638. "Combination4": {
  4639. "group": [
  4640. {
  4641. "id": "SessionAuth"
  4642. },
  4643. {
  4644. "id": "NewApiUser"
  4645. }
  4646. ],
  4647. "type": "combination"
  4648. },
  4649. "Combination13": {
  4650. "group": [
  4651. {
  4652. "id": "AccessToken"
  4653. },
  4654. {
  4655. "id": "NewApiUser"
  4656. }
  4657. ],
  4658. "type": "combination"
  4659. },
  4660. "Combination5": {
  4661. "group": [
  4662. {
  4663. "id": "SessionAuth"
  4664. },
  4665. {
  4666. "id": "NewApiUser"
  4667. }
  4668. ],
  4669. "type": "combination"
  4670. },
  4671. "Combination14": {
  4672. "group": [
  4673. {
  4674. "id": "AccessToken"
  4675. },
  4676. {
  4677. "id": "NewApiUser"
  4678. }
  4679. ],
  4680. "type": "combination"
  4681. },
  4682. "Combination6": {
  4683. "group": [
  4684. {
  4685. "id": "SessionAuth"
  4686. },
  4687. {
  4688. "id": "NewApiUser"
  4689. }
  4690. ],
  4691. "type": "combination"
  4692. },
  4693. "Combination15": {
  4694. "group": [
  4695. {
  4696. "id": "AccessToken"
  4697. },
  4698. {
  4699. "id": "NewApiUser"
  4700. }
  4701. ],
  4702. "type": "combination"
  4703. },
  4704. "Combination7": {
  4705. "group": [
  4706. {
  4707. "id": "SessionAuth"
  4708. },
  4709. {
  4710. "id": "NewApiUser"
  4711. }
  4712. ],
  4713. "type": "combination"
  4714. },
  4715. "Combination16": {
  4716. "group": [
  4717. {
  4718. "id": "AccessToken"
  4719. },
  4720. {
  4721. "id": "NewApiUser"
  4722. }
  4723. ],
  4724. "type": "combination"
  4725. },
  4726. "Combination8": {
  4727. "group": [
  4728. {
  4729. "id": "SessionAuth"
  4730. },
  4731. {
  4732. "id": "NewApiUser"
  4733. }
  4734. ],
  4735. "type": "combination"
  4736. },
  4737. "Combination17": {
  4738. "group": [
  4739. {
  4740. "id": "AccessToken"
  4741. },
  4742. {
  4743. "id": "NewApiUser"
  4744. }
  4745. ],
  4746. "type": "combination"
  4747. },
  4748. "Combination9": {
  4749. "group": [
  4750. {
  4751. "id": "SessionAuth"
  4752. },
  4753. {
  4754. "id": "NewApiUser"
  4755. }
  4756. ],
  4757. "type": "combination"
  4758. },
  4759. "Combination18": {
  4760. "group": [
  4761. {
  4762. "id": "AccessToken"
  4763. },
  4764. {
  4765. "id": "NewApiUser"
  4766. }
  4767. ],
  4768. "type": "combination"
  4769. },
  4770. "Combination10": {
  4771. "group": [
  4772. {
  4773. "id": "SessionAuth"
  4774. },
  4775. {
  4776. "id": "NewApiUser"
  4777. }
  4778. ],
  4779. "type": "combination"
  4780. },
  4781. "Combination19": {
  4782. "group": [
  4783. {
  4784. "id": "AccessToken"
  4785. },
  4786. {
  4787. "id": "NewApiUser"
  4788. }
  4789. ],
  4790. "type": "combination"
  4791. },
  4792. "Combination20": {
  4793. "group": [
  4794. {
  4795. "id": "SessionAuth"
  4796. },
  4797. {
  4798. "id": "NewApiUser"
  4799. }
  4800. ],
  4801. "type": "combination"
  4802. },
  4803. "Combination110": {
  4804. "group": [
  4805. {
  4806. "id": "AccessToken"
  4807. },
  4808. {
  4809. "id": "NewApiUser"
  4810. }
  4811. ],
  4812. "type": "combination"
  4813. },
  4814. "Combination21": {
  4815. "group": [
  4816. {
  4817. "id": "SessionAuth"
  4818. },
  4819. {
  4820. "id": "NewApiUser"
  4821. }
  4822. ],
  4823. "type": "combination"
  4824. },
  4825. "Combination111": {
  4826. "group": [
  4827. {
  4828. "id": "AccessToken"
  4829. },
  4830. {
  4831. "id": "NewApiUser"
  4832. }
  4833. ],
  4834. "type": "combination"
  4835. },
  4836. "Combination22": {
  4837. "group": [
  4838. {
  4839. "id": "SessionAuth"
  4840. },
  4841. {
  4842. "id": "NewApiUser"
  4843. }
  4844. ],
  4845. "type": "combination"
  4846. },
  4847. "Combination112": {
  4848. "group": [
  4849. {
  4850. "id": "AccessToken"
  4851. },
  4852. {
  4853. "id": "NewApiUser"
  4854. }
  4855. ],
  4856. "type": "combination"
  4857. },
  4858. "Combination23": {
  4859. "group": [
  4860. {
  4861. "id": "SessionAuth"
  4862. },
  4863. {
  4864. "id": "NewApiUser"
  4865. }
  4866. ],
  4867. "type": "combination"
  4868. },
  4869. "Combination113": {
  4870. "group": [
  4871. {
  4872. "id": "AccessToken"
  4873. },
  4874. {
  4875. "id": "NewApiUser"
  4876. }
  4877. ],
  4878. "type": "combination"
  4879. },
  4880. "Combination24": {
  4881. "group": [
  4882. {
  4883. "id": "SessionAuth"
  4884. },
  4885. {
  4886. "id": "NewApiUser"
  4887. }
  4888. ],
  4889. "type": "combination"
  4890. },
  4891. "Combination114": {
  4892. "group": [
  4893. {
  4894. "id": "AccessToken"
  4895. },
  4896. {
  4897. "id": "NewApiUser"
  4898. }
  4899. ],
  4900. "type": "combination"
  4901. },
  4902. "Combination25": {
  4903. "group": [
  4904. {
  4905. "id": "SessionAuth"
  4906. },
  4907. {
  4908. "id": "NewApiUser"
  4909. }
  4910. ],
  4911. "type": "combination"
  4912. },
  4913. "Combination115": {
  4914. "group": [
  4915. {
  4916. "id": "AccessToken"
  4917. },
  4918. {
  4919. "id": "NewApiUser"
  4920. }
  4921. ],
  4922. "type": "combination"
  4923. },
  4924. "Combination26": {
  4925. "group": [
  4926. {
  4927. "id": "SessionAuth"
  4928. },
  4929. {
  4930. "id": "NewApiUser"
  4931. }
  4932. ],
  4933. "type": "combination"
  4934. },
  4935. "Combination116": {
  4936. "group": [
  4937. {
  4938. "id": "AccessToken"
  4939. },
  4940. {
  4941. "id": "NewApiUser"
  4942. }
  4943. ],
  4944. "type": "combination"
  4945. },
  4946. "Combination27": {
  4947. "group": [
  4948. {
  4949. "id": "SessionAuth"
  4950. },
  4951. {
  4952. "id": "NewApiUser"
  4953. }
  4954. ],
  4955. "type": "combination"
  4956. },
  4957. "Combination117": {
  4958. "group": [
  4959. {
  4960. "id": "AccessToken"
  4961. },
  4962. {
  4963. "id": "NewApiUser"
  4964. }
  4965. ],
  4966. "type": "combination"
  4967. },
  4968. "Combination28": {
  4969. "group": [
  4970. {
  4971. "id": "SessionAuth"
  4972. },
  4973. {
  4974. "id": "NewApiUser"
  4975. }
  4976. ],
  4977. "type": "combination"
  4978. },
  4979. "Combination118": {
  4980. "group": [
  4981. {
  4982. "id": "AccessToken"
  4983. },
  4984. {
  4985. "id": "NewApiUser"
  4986. }
  4987. ],
  4988. "type": "combination"
  4989. },
  4990. "Combination29": {
  4991. "group": [
  4992. {
  4993. "id": "SessionAuth"
  4994. },
  4995. {
  4996. "id": "NewApiUser"
  4997. }
  4998. ],
  4999. "type": "combination"
  5000. },
  5001. "Combination119": {
  5002. "group": [
  5003. {
  5004. "id": "AccessToken"
  5005. },
  5006. {
  5007. "id": "NewApiUser"
  5008. }
  5009. ],
  5010. "type": "combination"
  5011. },
  5012. "Combination30": {
  5013. "group": [
  5014. {
  5015. "id": "SessionAuth"
  5016. },
  5017. {
  5018. "id": "NewApiUser"
  5019. }
  5020. ],
  5021. "type": "combination"
  5022. },
  5023. "Combination120": {
  5024. "group": [
  5025. {
  5026. "id": "AccessToken"
  5027. },
  5028. {
  5029. "id": "NewApiUser"
  5030. }
  5031. ],
  5032. "type": "combination"
  5033. },
  5034. "Combination31": {
  5035. "group": [
  5036. {
  5037. "id": "SessionAuth"
  5038. },
  5039. {
  5040. "id": "NewApiUser"
  5041. }
  5042. ],
  5043. "type": "combination"
  5044. },
  5045. "Combination121": {
  5046. "group": [
  5047. {
  5048. "id": "AccessToken"
  5049. },
  5050. {
  5051. "id": "NewApiUser"
  5052. }
  5053. ],
  5054. "type": "combination"
  5055. },
  5056. "Combination32": {
  5057. "group": [
  5058. {
  5059. "id": "SessionAuth"
  5060. },
  5061. {
  5062. "id": "NewApiUser"
  5063. }
  5064. ],
  5065. "type": "combination"
  5066. },
  5067. "Combination122": {
  5068. "group": [
  5069. {
  5070. "id": "AccessToken"
  5071. },
  5072. {
  5073. "id": "NewApiUser"
  5074. }
  5075. ],
  5076. "type": "combination"
  5077. },
  5078. "Combination33": {
  5079. "group": [
  5080. {
  5081. "id": "SessionAuth"
  5082. },
  5083. {
  5084. "id": "NewApiUser"
  5085. }
  5086. ],
  5087. "type": "combination"
  5088. },
  5089. "Combination123": {
  5090. "group": [
  5091. {
  5092. "id": "AccessToken"
  5093. },
  5094. {
  5095. "id": "NewApiUser"
  5096. }
  5097. ],
  5098. "type": "combination"
  5099. },
  5100. "Combination34": {
  5101. "group": [
  5102. {
  5103. "id": "SessionAuth"
  5104. },
  5105. {
  5106. "id": "NewApiUser"
  5107. }
  5108. ],
  5109. "type": "combination"
  5110. },
  5111. "Combination124": {
  5112. "group": [
  5113. {
  5114. "id": "AccessToken"
  5115. },
  5116. {
  5117. "id": "NewApiUser"
  5118. }
  5119. ],
  5120. "type": "combination"
  5121. },
  5122. "Combination35": {
  5123. "group": [
  5124. {
  5125. "id": "SessionAuth"
  5126. },
  5127. {
  5128. "id": "NewApiUser"
  5129. }
  5130. ],
  5131. "type": "combination"
  5132. },
  5133. "Combination125": {
  5134. "group": [
  5135. {
  5136. "id": "AccessToken"
  5137. },
  5138. {
  5139. "id": "NewApiUser"
  5140. }
  5141. ],
  5142. "type": "combination"
  5143. },
  5144. "Combination36": {
  5145. "group": [
  5146. {
  5147. "id": "SessionAuth"
  5148. },
  5149. {
  5150. "id": "NewApiUser"
  5151. }
  5152. ],
  5153. "type": "combination"
  5154. },
  5155. "Combination126": {
  5156. "group": [
  5157. {
  5158. "id": "AccessToken"
  5159. },
  5160. {
  5161. "id": "NewApiUser"
  5162. }
  5163. ],
  5164. "type": "combination"
  5165. },
  5166. "Combination37": {
  5167. "group": [
  5168. {
  5169. "id": "SessionAuth"
  5170. },
  5171. {
  5172. "id": "NewApiUser"
  5173. }
  5174. ],
  5175. "type": "combination"
  5176. },
  5177. "Combination127": {
  5178. "group": [
  5179. {
  5180. "id": "AccessToken"
  5181. },
  5182. {
  5183. "id": "NewApiUser"
  5184. }
  5185. ],
  5186. "type": "combination"
  5187. },
  5188. "Combination38": {
  5189. "group": [
  5190. {
  5191. "id": "SessionAuth"
  5192. },
  5193. {
  5194. "id": "NewApiUser"
  5195. }
  5196. ],
  5197. "type": "combination"
  5198. },
  5199. "Combination128": {
  5200. "group": [
  5201. {
  5202. "id": "AccessToken"
  5203. },
  5204. {
  5205. "id": "NewApiUser"
  5206. }
  5207. ],
  5208. "type": "combination"
  5209. },
  5210. "Combination39": {
  5211. "group": [
  5212. {
  5213. "id": "SessionAuth"
  5214. },
  5215. {
  5216. "id": "NewApiUser"
  5217. }
  5218. ],
  5219. "type": "combination"
  5220. },
  5221. "Combination129": {
  5222. "group": [
  5223. {
  5224. "id": "AccessToken"
  5225. },
  5226. {
  5227. "id": "NewApiUser"
  5228. }
  5229. ],
  5230. "type": "combination"
  5231. },
  5232. "Combination40": {
  5233. "group": [
  5234. {
  5235. "id": "SessionAuth"
  5236. },
  5237. {
  5238. "id": "NewApiUser"
  5239. }
  5240. ],
  5241. "type": "combination"
  5242. },
  5243. "Combination130": {
  5244. "group": [
  5245. {
  5246. "id": "AccessToken"
  5247. },
  5248. {
  5249. "id": "NewApiUser"
  5250. }
  5251. ],
  5252. "type": "combination"
  5253. },
  5254. "Combination41": {
  5255. "group": [
  5256. {
  5257. "id": "SessionAuth"
  5258. },
  5259. {
  5260. "id": "NewApiUser"
  5261. }
  5262. ],
  5263. "type": "combination"
  5264. },
  5265. "Combination131": {
  5266. "group": [
  5267. {
  5268. "id": "AccessToken"
  5269. },
  5270. {
  5271. "id": "NewApiUser"
  5272. }
  5273. ],
  5274. "type": "combination"
  5275. },
  5276. "Combination42": {
  5277. "group": [
  5278. {
  5279. "id": "SessionAuth"
  5280. },
  5281. {
  5282. "id": "NewApiUser"
  5283. }
  5284. ],
  5285. "type": "combination"
  5286. },
  5287. "Combination132": {
  5288. "group": [
  5289. {
  5290. "id": "AccessToken"
  5291. },
  5292. {
  5293. "id": "NewApiUser"
  5294. }
  5295. ],
  5296. "type": "combination"
  5297. },
  5298. "Combination43": {
  5299. "group": [
  5300. {
  5301. "id": "SessionAuth"
  5302. },
  5303. {
  5304. "id": "NewApiUser"
  5305. }
  5306. ],
  5307. "type": "combination"
  5308. },
  5309. "Combination133": {
  5310. "group": [
  5311. {
  5312. "id": "AccessToken"
  5313. },
  5314. {
  5315. "id": "NewApiUser"
  5316. }
  5317. ],
  5318. "type": "combination"
  5319. },
  5320. "Combination44": {
  5321. "group": [
  5322. {
  5323. "id": "SessionAuth"
  5324. },
  5325. {
  5326. "id": "NewApiUser"
  5327. }
  5328. ],
  5329. "type": "combination"
  5330. },
  5331. "Combination134": {
  5332. "group": [
  5333. {
  5334. "id": "AccessToken"
  5335. },
  5336. {
  5337. "id": "NewApiUser"
  5338. }
  5339. ],
  5340. "type": "combination"
  5341. },
  5342. "Combination45": {
  5343. "group": [
  5344. {
  5345. "id": "SessionAuth"
  5346. },
  5347. {
  5348. "id": "NewApiUser"
  5349. }
  5350. ],
  5351. "type": "combination"
  5352. },
  5353. "Combination135": {
  5354. "group": [
  5355. {
  5356. "id": "AccessToken"
  5357. },
  5358. {
  5359. "id": "NewApiUser"
  5360. }
  5361. ],
  5362. "type": "combination"
  5363. },
  5364. "Combination46": {
  5365. "group": [
  5366. {
  5367. "id": "SessionAuth"
  5368. },
  5369. {
  5370. "id": "NewApiUser"
  5371. }
  5372. ],
  5373. "type": "combination"
  5374. },
  5375. "Combination136": {
  5376. "group": [
  5377. {
  5378. "id": "AccessToken"
  5379. },
  5380. {
  5381. "id": "NewApiUser"
  5382. }
  5383. ],
  5384. "type": "combination"
  5385. },
  5386. "Combination47": {
  5387. "group": [
  5388. {
  5389. "id": "SessionAuth"
  5390. },
  5391. {
  5392. "id": "NewApiUser"
  5393. }
  5394. ],
  5395. "type": "combination"
  5396. },
  5397. "Combination137": {
  5398. "group": [
  5399. {
  5400. "id": "AccessToken"
  5401. },
  5402. {
  5403. "id": "NewApiUser"
  5404. }
  5405. ],
  5406. "type": "combination"
  5407. },
  5408. "Combination48": {
  5409. "group": [
  5410. {
  5411. "id": "SessionAuth"
  5412. },
  5413. {
  5414. "id": "NewApiUser"
  5415. }
  5416. ],
  5417. "type": "combination"
  5418. },
  5419. "Combination138": {
  5420. "group": [
  5421. {
  5422. "id": "AccessToken"
  5423. },
  5424. {
  5425. "id": "NewApiUser"
  5426. }
  5427. ],
  5428. "type": "combination"
  5429. },
  5430. "Combination49": {
  5431. "group": [
  5432. {
  5433. "id": "SessionAuth"
  5434. },
  5435. {
  5436. "id": "NewApiUser"
  5437. }
  5438. ],
  5439. "type": "combination"
  5440. },
  5441. "Combination139": {
  5442. "group": [
  5443. {
  5444. "id": "AccessToken"
  5445. },
  5446. {
  5447. "id": "NewApiUser"
  5448. }
  5449. ],
  5450. "type": "combination"
  5451. },
  5452. "Combination50": {
  5453. "group": [
  5454. {
  5455. "id": "SessionAuth"
  5456. },
  5457. {
  5458. "id": "NewApiUser"
  5459. }
  5460. ],
  5461. "type": "combination"
  5462. },
  5463. "Combination140": {
  5464. "group": [
  5465. {
  5466. "id": "AccessToken"
  5467. },
  5468. {
  5469. "id": "NewApiUser"
  5470. }
  5471. ],
  5472. "type": "combination"
  5473. },
  5474. "Combination51": {
  5475. "group": [
  5476. {
  5477. "id": "SessionAuth"
  5478. },
  5479. {
  5480. "id": "NewApiUser"
  5481. }
  5482. ],
  5483. "type": "combination"
  5484. },
  5485. "Combination141": {
  5486. "group": [
  5487. {
  5488. "id": "AccessToken"
  5489. },
  5490. {
  5491. "id": "NewApiUser"
  5492. }
  5493. ],
  5494. "type": "combination"
  5495. },
  5496. "Combination52": {
  5497. "group": [
  5498. {
  5499. "id": "SessionAuth"
  5500. },
  5501. {
  5502. "id": "NewApiUser"
  5503. }
  5504. ],
  5505. "type": "combination"
  5506. },
  5507. "Combination142": {
  5508. "group": [
  5509. {
  5510. "id": "AccessToken"
  5511. },
  5512. {
  5513. "id": "NewApiUser"
  5514. }
  5515. ],
  5516. "type": "combination"
  5517. },
  5518. "Combination53": {
  5519. "group": [
  5520. {
  5521. "id": "SessionAuth"
  5522. },
  5523. {
  5524. "id": "NewApiUser"
  5525. }
  5526. ],
  5527. "type": "combination"
  5528. },
  5529. "Combination143": {
  5530. "group": [
  5531. {
  5532. "id": "AccessToken"
  5533. },
  5534. {
  5535. "id": "NewApiUser"
  5536. }
  5537. ],
  5538. "type": "combination"
  5539. },
  5540. "Combination54": {
  5541. "group": [
  5542. {
  5543. "id": "SessionAuth"
  5544. },
  5545. {
  5546. "id": "NewApiUser"
  5547. }
  5548. ],
  5549. "type": "combination"
  5550. },
  5551. "Combination144": {
  5552. "group": [
  5553. {
  5554. "id": "AccessToken"
  5555. },
  5556. {
  5557. "id": "NewApiUser"
  5558. }
  5559. ],
  5560. "type": "combination"
  5561. },
  5562. "Combination55": {
  5563. "group": [
  5564. {
  5565. "id": "SessionAuth"
  5566. },
  5567. {
  5568. "id": "NewApiUser"
  5569. }
  5570. ],
  5571. "type": "combination"
  5572. },
  5573. "Combination145": {
  5574. "group": [
  5575. {
  5576. "id": "AccessToken"
  5577. },
  5578. {
  5579. "id": "NewApiUser"
  5580. }
  5581. ],
  5582. "type": "combination"
  5583. },
  5584. "Combination56": {
  5585. "group": [
  5586. {
  5587. "id": "SessionAuth"
  5588. },
  5589. {
  5590. "id": "NewApiUser"
  5591. }
  5592. ],
  5593. "type": "combination"
  5594. },
  5595. "Combination146": {
  5596. "group": [
  5597. {
  5598. "id": "AccessToken"
  5599. },
  5600. {
  5601. "id": "NewApiUser"
  5602. }
  5603. ],
  5604. "type": "combination"
  5605. },
  5606. "Combination57": {
  5607. "group": [
  5608. {
  5609. "id": "SessionAuth"
  5610. },
  5611. {
  5612. "id": "NewApiUser"
  5613. }
  5614. ],
  5615. "type": "combination"
  5616. },
  5617. "Combination147": {
  5618. "group": [
  5619. {
  5620. "id": "AccessToken"
  5621. },
  5622. {
  5623. "id": "NewApiUser"
  5624. }
  5625. ],
  5626. "type": "combination"
  5627. },
  5628. "Combination58": {
  5629. "group": [
  5630. {
  5631. "id": "SessionAuth"
  5632. },
  5633. {
  5634. "id": "NewApiUser"
  5635. }
  5636. ],
  5637. "type": "combination"
  5638. },
  5639. "Combination148": {
  5640. "group": [
  5641. {
  5642. "id": "AccessToken"
  5643. },
  5644. {
  5645. "id": "NewApiUser"
  5646. }
  5647. ],
  5648. "type": "combination"
  5649. },
  5650. "Combination59": {
  5651. "group": [
  5652. {
  5653. "id": "SessionAuth"
  5654. },
  5655. {
  5656. "id": "NewApiUser"
  5657. }
  5658. ],
  5659. "type": "combination"
  5660. },
  5661. "Combination149": {
  5662. "group": [
  5663. {
  5664. "id": "AccessToken"
  5665. },
  5666. {
  5667. "id": "NewApiUser"
  5668. }
  5669. ],
  5670. "type": "combination"
  5671. },
  5672. "Combination60": {
  5673. "group": [
  5674. {
  5675. "id": "SessionAuth"
  5676. },
  5677. {
  5678. "id": "NewApiUser"
  5679. }
  5680. ],
  5681. "type": "combination"
  5682. },
  5683. "Combination150": {
  5684. "group": [
  5685. {
  5686. "id": "AccessToken"
  5687. },
  5688. {
  5689. "id": "NewApiUser"
  5690. }
  5691. ],
  5692. "type": "combination"
  5693. },
  5694. "Combination61": {
  5695. "group": [
  5696. {
  5697. "id": "SessionAuth"
  5698. },
  5699. {
  5700. "id": "NewApiUser"
  5701. }
  5702. ],
  5703. "type": "combination"
  5704. },
  5705. "Combination151": {
  5706. "group": [
  5707. {
  5708. "id": "AccessToken"
  5709. },
  5710. {
  5711. "id": "NewApiUser"
  5712. }
  5713. ],
  5714. "type": "combination"
  5715. },
  5716. "Combination62": {
  5717. "group": [
  5718. {
  5719. "id": "SessionAuth"
  5720. },
  5721. {
  5722. "id": "NewApiUser"
  5723. }
  5724. ],
  5725. "type": "combination"
  5726. },
  5727. "Combination152": {
  5728. "group": [
  5729. {
  5730. "id": "AccessToken"
  5731. },
  5732. {
  5733. "id": "NewApiUser"
  5734. }
  5735. ],
  5736. "type": "combination"
  5737. },
  5738. "Combination63": {
  5739. "group": [
  5740. {
  5741. "id": "SessionAuth"
  5742. },
  5743. {
  5744. "id": "NewApiUser"
  5745. }
  5746. ],
  5747. "type": "combination"
  5748. },
  5749. "Combination153": {
  5750. "group": [
  5751. {
  5752. "id": "AccessToken"
  5753. },
  5754. {
  5755. "id": "NewApiUser"
  5756. }
  5757. ],
  5758. "type": "combination"
  5759. },
  5760. "Combination64": {
  5761. "group": [
  5762. {
  5763. "id": "SessionAuth"
  5764. },
  5765. {
  5766. "id": "NewApiUser"
  5767. }
  5768. ],
  5769. "type": "combination"
  5770. },
  5771. "Combination154": {
  5772. "group": [
  5773. {
  5774. "id": "AccessToken"
  5775. },
  5776. {
  5777. "id": "NewApiUser"
  5778. }
  5779. ],
  5780. "type": "combination"
  5781. },
  5782. "Combination65": {
  5783. "group": [
  5784. {
  5785. "id": "SessionAuth"
  5786. },
  5787. {
  5788. "id": "NewApiUser"
  5789. }
  5790. ],
  5791. "type": "combination"
  5792. },
  5793. "Combination155": {
  5794. "group": [
  5795. {
  5796. "id": "AccessToken"
  5797. },
  5798. {
  5799. "id": "NewApiUser"
  5800. }
  5801. ],
  5802. "type": "combination"
  5803. },
  5804. "Combination66": {
  5805. "group": [
  5806. {
  5807. "id": "SessionAuth"
  5808. },
  5809. {
  5810. "id": "NewApiUser"
  5811. }
  5812. ],
  5813. "type": "combination"
  5814. },
  5815. "Combination156": {
  5816. "group": [
  5817. {
  5818. "id": "AccessToken"
  5819. },
  5820. {
  5821. "id": "NewApiUser"
  5822. }
  5823. ],
  5824. "type": "combination"
  5825. },
  5826. "Combination67": {
  5827. "group": [
  5828. {
  5829. "id": "SessionAuth"
  5830. },
  5831. {
  5832. "id": "NewApiUser"
  5833. }
  5834. ],
  5835. "type": "combination"
  5836. },
  5837. "Combination157": {
  5838. "group": [
  5839. {
  5840. "id": "AccessToken"
  5841. },
  5842. {
  5843. "id": "NewApiUser"
  5844. }
  5845. ],
  5846. "type": "combination"
  5847. },
  5848. "Combination68": {
  5849. "group": [
  5850. {
  5851. "id": "SessionAuth"
  5852. },
  5853. {
  5854. "id": "NewApiUser"
  5855. }
  5856. ],
  5857. "type": "combination"
  5858. },
  5859. "Combination158": {
  5860. "group": [
  5861. {
  5862. "id": "AccessToken"
  5863. },
  5864. {
  5865. "id": "NewApiUser"
  5866. }
  5867. ],
  5868. "type": "combination"
  5869. },
  5870. "Combination69": {
  5871. "group": [
  5872. {
  5873. "id": "SessionAuth"
  5874. },
  5875. {
  5876. "id": "NewApiUser"
  5877. }
  5878. ],
  5879. "type": "combination"
  5880. },
  5881. "Combination159": {
  5882. "group": [
  5883. {
  5884. "id": "AccessToken"
  5885. },
  5886. {
  5887. "id": "NewApiUser"
  5888. }
  5889. ],
  5890. "type": "combination"
  5891. },
  5892. "Combination70": {
  5893. "group": [
  5894. {
  5895. "id": "SessionAuth"
  5896. },
  5897. {
  5898. "id": "NewApiUser"
  5899. }
  5900. ],
  5901. "type": "combination"
  5902. },
  5903. "Combination160": {
  5904. "group": [
  5905. {
  5906. "id": "AccessToken"
  5907. },
  5908. {
  5909. "id": "NewApiUser"
  5910. }
  5911. ],
  5912. "type": "combination"
  5913. },
  5914. "Combination71": {
  5915. "group": [
  5916. {
  5917. "id": "SessionAuth"
  5918. },
  5919. {
  5920. "id": "NewApiUser"
  5921. }
  5922. ],
  5923. "type": "combination"
  5924. },
  5925. "Combination161": {
  5926. "group": [
  5927. {
  5928. "id": "AccessToken"
  5929. },
  5930. {
  5931. "id": "NewApiUser"
  5932. }
  5933. ],
  5934. "type": "combination"
  5935. },
  5936. "Combination72": {
  5937. "group": [
  5938. {
  5939. "id": "SessionAuth"
  5940. },
  5941. {
  5942. "id": "NewApiUser"
  5943. }
  5944. ],
  5945. "type": "combination"
  5946. },
  5947. "Combination162": {
  5948. "group": [
  5949. {
  5950. "id": "AccessToken"
  5951. },
  5952. {
  5953. "id": "NewApiUser"
  5954. }
  5955. ],
  5956. "type": "combination"
  5957. },
  5958. "Combination73": {
  5959. "group": [
  5960. {
  5961. "id": "SessionAuth"
  5962. },
  5963. {
  5964. "id": "NewApiUser"
  5965. }
  5966. ],
  5967. "type": "combination"
  5968. },
  5969. "Combination163": {
  5970. "group": [
  5971. {
  5972. "id": "AccessToken"
  5973. },
  5974. {
  5975. "id": "NewApiUser"
  5976. }
  5977. ],
  5978. "type": "combination"
  5979. },
  5980. "Combination74": {
  5981. "group": [
  5982. {
  5983. "id": "SessionAuth"
  5984. },
  5985. {
  5986. "id": "NewApiUser"
  5987. }
  5988. ],
  5989. "type": "combination"
  5990. },
  5991. "Combination164": {
  5992. "group": [
  5993. {
  5994. "id": "AccessToken"
  5995. },
  5996. {
  5997. "id": "NewApiUser"
  5998. }
  5999. ],
  6000. "type": "combination"
  6001. },
  6002. "Combination75": {
  6003. "group": [
  6004. {
  6005. "id": "SessionAuth"
  6006. },
  6007. {
  6008. "id": "NewApiUser"
  6009. }
  6010. ],
  6011. "type": "combination"
  6012. },
  6013. "Combination165": {
  6014. "group": [
  6015. {
  6016. "id": "AccessToken"
  6017. },
  6018. {
  6019. "id": "NewApiUser"
  6020. }
  6021. ],
  6022. "type": "combination"
  6023. },
  6024. "Combination76": {
  6025. "group": [
  6026. {
  6027. "id": "SessionAuth"
  6028. },
  6029. {
  6030. "id": "NewApiUser"
  6031. }
  6032. ],
  6033. "type": "combination"
  6034. },
  6035. "Combination166": {
  6036. "group": [
  6037. {
  6038. "id": "AccessToken"
  6039. },
  6040. {
  6041. "id": "NewApiUser"
  6042. }
  6043. ],
  6044. "type": "combination"
  6045. },
  6046. "Combination77": {
  6047. "group": [
  6048. {
  6049. "id": "SessionAuth"
  6050. },
  6051. {
  6052. "id": "NewApiUser"
  6053. }
  6054. ],
  6055. "type": "combination"
  6056. },
  6057. "Combination167": {
  6058. "group": [
  6059. {
  6060. "id": "AccessToken"
  6061. },
  6062. {
  6063. "id": "NewApiUser"
  6064. }
  6065. ],
  6066. "type": "combination"
  6067. },
  6068. "Combination78": {
  6069. "group": [
  6070. {
  6071. "id": "SessionAuth"
  6072. },
  6073. {
  6074. "id": "NewApiUser"
  6075. }
  6076. ],
  6077. "type": "combination"
  6078. },
  6079. "Combination168": {
  6080. "group": [
  6081. {
  6082. "id": "AccessToken"
  6083. },
  6084. {
  6085. "id": "NewApiUser"
  6086. }
  6087. ],
  6088. "type": "combination"
  6089. },
  6090. "Combination79": {
  6091. "group": [
  6092. {
  6093. "id": "SessionAuth"
  6094. },
  6095. {
  6096. "id": "NewApiUser"
  6097. }
  6098. ],
  6099. "type": "combination"
  6100. },
  6101. "Combination169": {
  6102. "group": [
  6103. {
  6104. "id": "AccessToken"
  6105. },
  6106. {
  6107. "id": "NewApiUser"
  6108. }
  6109. ],
  6110. "type": "combination"
  6111. },
  6112. "Combination80": {
  6113. "group": [
  6114. {
  6115. "id": "SessionAuth"
  6116. },
  6117. {
  6118. "id": "NewApiUser"
  6119. }
  6120. ],
  6121. "type": "combination"
  6122. },
  6123. "Combination170": {
  6124. "group": [
  6125. {
  6126. "id": "AccessToken"
  6127. },
  6128. {
  6129. "id": "NewApiUser"
  6130. }
  6131. ],
  6132. "type": "combination"
  6133. },
  6134. "Combination81": {
  6135. "group": [
  6136. {
  6137. "id": "SessionAuth"
  6138. },
  6139. {
  6140. "id": "NewApiUser"
  6141. }
  6142. ],
  6143. "type": "combination"
  6144. },
  6145. "Combination171": {
  6146. "group": [
  6147. {
  6148. "id": "AccessToken"
  6149. },
  6150. {
  6151. "id": "NewApiUser"
  6152. }
  6153. ],
  6154. "type": "combination"
  6155. },
  6156. "Combination82": {
  6157. "group": [
  6158. {
  6159. "id": "SessionAuth"
  6160. },
  6161. {
  6162. "id": "NewApiUser"
  6163. }
  6164. ],
  6165. "type": "combination"
  6166. },
  6167. "Combination172": {
  6168. "group": [
  6169. {
  6170. "id": "AccessToken"
  6171. },
  6172. {
  6173. "id": "NewApiUser"
  6174. }
  6175. ],
  6176. "type": "combination"
  6177. },
  6178. "Combination83": {
  6179. "group": [
  6180. {
  6181. "id": "SessionAuth"
  6182. },
  6183. {
  6184. "id": "NewApiUser"
  6185. }
  6186. ],
  6187. "type": "combination"
  6188. },
  6189. "Combination173": {
  6190. "group": [
  6191. {
  6192. "id": "AccessToken"
  6193. },
  6194. {
  6195. "id": "NewApiUser"
  6196. }
  6197. ],
  6198. "type": "combination"
  6199. },
  6200. "Combination84": {
  6201. "group": [
  6202. {
  6203. "id": "SessionAuth"
  6204. },
  6205. {
  6206. "id": "NewApiUser"
  6207. }
  6208. ],
  6209. "type": "combination"
  6210. },
  6211. "Combination174": {
  6212. "group": [
  6213. {
  6214. "id": "AccessToken"
  6215. },
  6216. {
  6217. "id": "NewApiUser"
  6218. }
  6219. ],
  6220. "type": "combination"
  6221. },
  6222. "Combination85": {
  6223. "group": [
  6224. {
  6225. "id": "SessionAuth"
  6226. },
  6227. {
  6228. "id": "NewApiUser"
  6229. }
  6230. ],
  6231. "type": "combination"
  6232. },
  6233. "Combination175": {
  6234. "group": [
  6235. {
  6236. "id": "AccessToken"
  6237. },
  6238. {
  6239. "id": "NewApiUser"
  6240. }
  6241. ],
  6242. "type": "combination"
  6243. },
  6244. "Combination86": {
  6245. "group": [
  6246. {
  6247. "id": "SessionAuth"
  6248. },
  6249. {
  6250. "id": "NewApiUser"
  6251. }
  6252. ],
  6253. "type": "combination"
  6254. },
  6255. "Combination176": {
  6256. "group": [
  6257. {
  6258. "id": "AccessToken"
  6259. },
  6260. {
  6261. "id": "NewApiUser"
  6262. }
  6263. ],
  6264. "type": "combination"
  6265. },
  6266. "Combination87": {
  6267. "group": [
  6268. {
  6269. "id": "SessionAuth"
  6270. },
  6271. {
  6272. "id": "NewApiUser"
  6273. }
  6274. ],
  6275. "type": "combination"
  6276. },
  6277. "Combination177": {
  6278. "group": [
  6279. {
  6280. "id": "AccessToken"
  6281. },
  6282. {
  6283. "id": "NewApiUser"
  6284. }
  6285. ],
  6286. "type": "combination"
  6287. },
  6288. "Combination88": {
  6289. "group": [
  6290. {
  6291. "id": "SessionAuth"
  6292. },
  6293. {
  6294. "id": "NewApiUser"
  6295. }
  6296. ],
  6297. "type": "combination"
  6298. },
  6299. "Combination178": {
  6300. "group": [
  6301. {
  6302. "id": "AccessToken"
  6303. },
  6304. {
  6305. "id": "NewApiUser"
  6306. }
  6307. ],
  6308. "type": "combination"
  6309. },
  6310. "Combination89": {
  6311. "group": [
  6312. {
  6313. "id": "SessionAuth"
  6314. },
  6315. {
  6316. "id": "NewApiUser"
  6317. }
  6318. ],
  6319. "type": "combination"
  6320. },
  6321. "Combination179": {
  6322. "group": [
  6323. {
  6324. "id": "AccessToken"
  6325. },
  6326. {
  6327. "id": "NewApiUser"
  6328. }
  6329. ],
  6330. "type": "combination"
  6331. },
  6332. "Combination90": {
  6333. "group": [
  6334. {
  6335. "id": "SessionAuth"
  6336. },
  6337. {
  6338. "id": "NewApiUser"
  6339. }
  6340. ],
  6341. "type": "combination"
  6342. },
  6343. "Combination180": {
  6344. "group": [
  6345. {
  6346. "id": "AccessToken"
  6347. },
  6348. {
  6349. "id": "NewApiUser"
  6350. }
  6351. ],
  6352. "type": "combination"
  6353. },
  6354. "Combination91": {
  6355. "group": [
  6356. {
  6357. "id": "SessionAuth"
  6358. },
  6359. {
  6360. "id": "NewApiUser"
  6361. }
  6362. ],
  6363. "type": "combination"
  6364. },
  6365. "Combination181": {
  6366. "group": [
  6367. {
  6368. "id": "AccessToken"
  6369. },
  6370. {
  6371. "id": "NewApiUser"
  6372. }
  6373. ],
  6374. "type": "combination"
  6375. },
  6376. "Combination92": {
  6377. "group": [
  6378. {
  6379. "id": "SessionAuth"
  6380. },
  6381. {
  6382. "id": "NewApiUser"
  6383. }
  6384. ],
  6385. "type": "combination"
  6386. },
  6387. "Combination182": {
  6388. "group": [
  6389. {
  6390. "id": "AccessToken"
  6391. },
  6392. {
  6393. "id": "NewApiUser"
  6394. }
  6395. ],
  6396. "type": "combination"
  6397. },
  6398. "Combination93": {
  6399. "group": [
  6400. {
  6401. "id": "SessionAuth"
  6402. },
  6403. {
  6404. "id": "NewApiUser"
  6405. }
  6406. ],
  6407. "type": "combination"
  6408. },
  6409. "Combination183": {
  6410. "group": [
  6411. {
  6412. "id": "AccessToken"
  6413. },
  6414. {
  6415. "id": "NewApiUser"
  6416. }
  6417. ],
  6418. "type": "combination"
  6419. },
  6420. "Combination94": {
  6421. "group": [
  6422. {
  6423. "id": "SessionAuth"
  6424. },
  6425. {
  6426. "id": "NewApiUser"
  6427. }
  6428. ],
  6429. "type": "combination"
  6430. },
  6431. "Combination184": {
  6432. "group": [
  6433. {
  6434. "id": "AccessToken"
  6435. },
  6436. {
  6437. "id": "NewApiUser"
  6438. }
  6439. ],
  6440. "type": "combination"
  6441. },
  6442. "Combination95": {
  6443. "group": [
  6444. {
  6445. "id": "SessionAuth"
  6446. },
  6447. {
  6448. "id": "NewApiUser"
  6449. }
  6450. ],
  6451. "type": "combination"
  6452. },
  6453. "Combination185": {
  6454. "group": [
  6455. {
  6456. "id": "AccessToken"
  6457. },
  6458. {
  6459. "id": "NewApiUser"
  6460. }
  6461. ],
  6462. "type": "combination"
  6463. },
  6464. "Combination96": {
  6465. "group": [
  6466. {
  6467. "id": "SessionAuth"
  6468. },
  6469. {
  6470. "id": "NewApiUser"
  6471. }
  6472. ],
  6473. "type": "combination"
  6474. },
  6475. "Combination186": {
  6476. "group": [
  6477. {
  6478. "id": "AccessToken"
  6479. },
  6480. {
  6481. "id": "NewApiUser"
  6482. }
  6483. ],
  6484. "type": "combination"
  6485. },
  6486. "Combination97": {
  6487. "group": [
  6488. {
  6489. "id": "SessionAuth"
  6490. },
  6491. {
  6492. "id": "NewApiUser"
  6493. }
  6494. ],
  6495. "type": "combination"
  6496. },
  6497. "Combination187": {
  6498. "group": [
  6499. {
  6500. "id": "AccessToken"
  6501. },
  6502. {
  6503. "id": "NewApiUser"
  6504. }
  6505. ],
  6506. "type": "combination"
  6507. },
  6508. "Combination98": {
  6509. "group": [
  6510. {
  6511. "id": "SessionAuth"
  6512. },
  6513. {
  6514. "id": "NewApiUser"
  6515. }
  6516. ],
  6517. "type": "combination"
  6518. },
  6519. "Combination188": {
  6520. "group": [
  6521. {
  6522. "id": "AccessToken"
  6523. },
  6524. {
  6525. "id": "NewApiUser"
  6526. }
  6527. ],
  6528. "type": "combination"
  6529. },
  6530. "Combination99": {
  6531. "group": [
  6532. {
  6533. "id": "SessionAuth"
  6534. },
  6535. {
  6536. "id": "NewApiUser"
  6537. }
  6538. ],
  6539. "type": "combination"
  6540. },
  6541. "Combination189": {
  6542. "group": [
  6543. {
  6544. "id": "AccessToken"
  6545. },
  6546. {
  6547. "id": "NewApiUser"
  6548. }
  6549. ],
  6550. "type": "combination"
  6551. },
  6552. "Combination100": {
  6553. "group": [
  6554. {
  6555. "id": "SessionAuth"
  6556. },
  6557. {
  6558. "id": "NewApiUser"
  6559. }
  6560. ],
  6561. "type": "combination"
  6562. },
  6563. "Combination190": {
  6564. "group": [
  6565. {
  6566. "id": "AccessToken"
  6567. },
  6568. {
  6569. "id": "NewApiUser"
  6570. }
  6571. ],
  6572. "type": "combination"
  6573. },
  6574. "Combination101": {
  6575. "group": [
  6576. {
  6577. "id": "SessionAuth"
  6578. },
  6579. {
  6580. "id": "NewApiUser"
  6581. }
  6582. ],
  6583. "type": "combination"
  6584. },
  6585. "Combination191": {
  6586. "group": [
  6587. {
  6588. "id": "AccessToken"
  6589. },
  6590. {
  6591. "id": "NewApiUser"
  6592. }
  6593. ],
  6594. "type": "combination"
  6595. },
  6596. "Combination102": {
  6597. "group": [
  6598. {
  6599. "id": "SessionAuth"
  6600. },
  6601. {
  6602. "id": "NewApiUser"
  6603. }
  6604. ],
  6605. "type": "combination"
  6606. },
  6607. "Combination192": {
  6608. "group": [
  6609. {
  6610. "id": "AccessToken"
  6611. },
  6612. {
  6613. "id": "NewApiUser"
  6614. }
  6615. ],
  6616. "type": "combination"
  6617. },
  6618. "Combination103": {
  6619. "group": [
  6620. {
  6621. "id": "SessionAuth"
  6622. },
  6623. {
  6624. "id": "NewApiUser"
  6625. }
  6626. ],
  6627. "type": "combination"
  6628. },
  6629. "Combination193": {
  6630. "group": [
  6631. {
  6632. "id": "AccessToken"
  6633. },
  6634. {
  6635. "id": "NewApiUser"
  6636. }
  6637. ],
  6638. "type": "combination"
  6639. },
  6640. "Combination104": {
  6641. "group": [
  6642. {
  6643. "id": "SessionAuth"
  6644. },
  6645. {
  6646. "id": "NewApiUser"
  6647. }
  6648. ],
  6649. "type": "combination"
  6650. },
  6651. "Combination194": {
  6652. "group": [
  6653. {
  6654. "id": "AccessToken"
  6655. },
  6656. {
  6657. "id": "NewApiUser"
  6658. }
  6659. ],
  6660. "type": "combination"
  6661. },
  6662. "Combination105": {
  6663. "group": [
  6664. {
  6665. "id": "SessionAuth"
  6666. },
  6667. {
  6668. "id": "NewApiUser"
  6669. }
  6670. ],
  6671. "type": "combination"
  6672. },
  6673. "Combination195": {
  6674. "group": [
  6675. {
  6676. "id": "AccessToken"
  6677. },
  6678. {
  6679. "id": "NewApiUser"
  6680. }
  6681. ],
  6682. "type": "combination"
  6683. },
  6684. "Combination106": {
  6685. "group": [
  6686. {
  6687. "id": "SessionAuth"
  6688. },
  6689. {
  6690. "id": "NewApiUser"
  6691. }
  6692. ],
  6693. "type": "combination"
  6694. },
  6695. "Combination196": {
  6696. "group": [
  6697. {
  6698. "id": "AccessToken"
  6699. },
  6700. {
  6701. "id": "NewApiUser"
  6702. }
  6703. ],
  6704. "type": "combination"
  6705. },
  6706. "Combination107": {
  6707. "group": [
  6708. {
  6709. "id": "SessionAuth"
  6710. },
  6711. {
  6712. "id": "NewApiUser"
  6713. }
  6714. ],
  6715. "type": "combination"
  6716. },
  6717. "Combination197": {
  6718. "group": [
  6719. {
  6720. "id": "AccessToken"
  6721. },
  6722. {
  6723. "id": "NewApiUser"
  6724. }
  6725. ],
  6726. "type": "combination"
  6727. },
  6728. "Combination108": {
  6729. "group": [
  6730. {
  6731. "id": "SessionAuth"
  6732. },
  6733. {
  6734. "id": "NewApiUser"
  6735. }
  6736. ],
  6737. "type": "combination"
  6738. },
  6739. "Combination198": {
  6740. "group": [
  6741. {
  6742. "id": "AccessToken"
  6743. },
  6744. {
  6745. "id": "NewApiUser"
  6746. }
  6747. ],
  6748. "type": "combination"
  6749. },
  6750. "Combination109": {
  6751. "group": [
  6752. {
  6753. "id": "SessionAuth"
  6754. },
  6755. {
  6756. "id": "NewApiUser"
  6757. }
  6758. ],
  6759. "type": "combination"
  6760. },
  6761. "Combination199": {
  6762. "group": [
  6763. {
  6764. "id": "AccessToken"
  6765. },
  6766. {
  6767. "id": "NewApiUser"
  6768. }
  6769. ],
  6770. "type": "combination"
  6771. },
  6772. "Combination200": {
  6773. "group": [
  6774. {
  6775. "id": "SessionAuth"
  6776. },
  6777. {
  6778. "id": "NewApiUser"
  6779. }
  6780. ],
  6781. "type": "combination"
  6782. },
  6783. "Combination1100": {
  6784. "group": [
  6785. {
  6786. "id": "AccessToken"
  6787. },
  6788. {
  6789. "id": "NewApiUser"
  6790. }
  6791. ],
  6792. "type": "combination"
  6793. },
  6794. "Combination201": {
  6795. "group": [
  6796. {
  6797. "id": "SessionAuth"
  6798. },
  6799. {
  6800. "id": "NewApiUser"
  6801. }
  6802. ],
  6803. "type": "combination"
  6804. },
  6805. "Combination1101": {
  6806. "group": [
  6807. {
  6808. "id": "AccessToken"
  6809. },
  6810. {
  6811. "id": "NewApiUser"
  6812. }
  6813. ],
  6814. "type": "combination"
  6815. },
  6816. "Combination202": {
  6817. "group": [
  6818. {
  6819. "id": "SessionAuth"
  6820. },
  6821. {
  6822. "id": "NewApiUser"
  6823. }
  6824. ],
  6825. "type": "combination"
  6826. },
  6827. "Combination1102": {
  6828. "group": [
  6829. {
  6830. "id": "AccessToken"
  6831. },
  6832. {
  6833. "id": "NewApiUser"
  6834. }
  6835. ],
  6836. "type": "combination"
  6837. },
  6838. "Combination203": {
  6839. "group": [
  6840. {
  6841. "id": "SessionAuth"
  6842. },
  6843. {
  6844. "id": "NewApiUser"
  6845. }
  6846. ],
  6847. "type": "combination"
  6848. },
  6849. "Combination1103": {
  6850. "group": [
  6851. {
  6852. "id": "AccessToken"
  6853. },
  6854. {
  6855. "id": "NewApiUser"
  6856. }
  6857. ],
  6858. "type": "combination"
  6859. },
  6860. "Combination204": {
  6861. "group": [
  6862. {
  6863. "id": "SessionAuth"
  6864. },
  6865. {
  6866. "id": "NewApiUser"
  6867. }
  6868. ],
  6869. "type": "combination"
  6870. },
  6871. "Combination1104": {
  6872. "group": [
  6873. {
  6874. "id": "AccessToken"
  6875. },
  6876. {
  6877. "id": "NewApiUser"
  6878. }
  6879. ],
  6880. "type": "combination"
  6881. },
  6882. "Combination205": {
  6883. "group": [
  6884. {
  6885. "id": "SessionAuth"
  6886. },
  6887. {
  6888. "id": "NewApiUser"
  6889. }
  6890. ],
  6891. "type": "combination"
  6892. },
  6893. "Combination1105": {
  6894. "group": [
  6895. {
  6896. "id": "AccessToken"
  6897. },
  6898. {
  6899. "id": "NewApiUser"
  6900. }
  6901. ],
  6902. "type": "combination"
  6903. },
  6904. "Combination206": {
  6905. "group": [
  6906. {
  6907. "id": "SessionAuth"
  6908. },
  6909. {
  6910. "id": "NewApiUser"
  6911. }
  6912. ],
  6913. "type": "combination"
  6914. },
  6915. "Combination1106": {
  6916. "group": [
  6917. {
  6918. "id": "AccessToken"
  6919. },
  6920. {
  6921. "id": "NewApiUser"
  6922. }
  6923. ],
  6924. "type": "combination"
  6925. },
  6926. "Combination207": {
  6927. "group": [
  6928. {
  6929. "id": "SessionAuth"
  6930. },
  6931. {
  6932. "id": "NewApiUser"
  6933. }
  6934. ],
  6935. "type": "combination"
  6936. },
  6937. "Combination1107": {
  6938. "group": [
  6939. {
  6940. "id": "AccessToken"
  6941. },
  6942. {
  6943. "id": "NewApiUser"
  6944. }
  6945. ],
  6946. "type": "combination"
  6947. },
  6948. "Combination208": {
  6949. "group": [
  6950. {
  6951. "id": "SessionAuth"
  6952. },
  6953. {
  6954. "id": "NewApiUser"
  6955. }
  6956. ],
  6957. "type": "combination"
  6958. },
  6959. "Combination1108": {
  6960. "group": [
  6961. {
  6962. "id": "AccessToken"
  6963. },
  6964. {
  6965. "id": "NewApiUser"
  6966. }
  6967. ],
  6968. "type": "combination"
  6969. },
  6970. "Combination209": {
  6971. "group": [
  6972. {
  6973. "id": "SessionAuth"
  6974. },
  6975. {
  6976. "id": "NewApiUser"
  6977. }
  6978. ],
  6979. "type": "combination"
  6980. },
  6981. "Combination1109": {
  6982. "group": [
  6983. {
  6984. "id": "AccessToken"
  6985. },
  6986. {
  6987. "id": "NewApiUser"
  6988. }
  6989. ],
  6990. "type": "combination"
  6991. },
  6992. "Combination210": {
  6993. "group": [
  6994. {
  6995. "id": "SessionAuth"
  6996. },
  6997. {
  6998. "id": "NewApiUser"
  6999. }
  7000. ],
  7001. "type": "combination"
  7002. },
  7003. "Combination1110": {
  7004. "group": [
  7005. {
  7006. "id": "AccessToken"
  7007. },
  7008. {
  7009. "id": "NewApiUser"
  7010. }
  7011. ],
  7012. "type": "combination"
  7013. },
  7014. "Combination211": {
  7015. "group": [
  7016. {
  7017. "id": "SessionAuth"
  7018. },
  7019. {
  7020. "id": "NewApiUser"
  7021. }
  7022. ],
  7023. "type": "combination"
  7024. },
  7025. "Combination1111": {
  7026. "group": [
  7027. {
  7028. "id": "AccessToken"
  7029. },
  7030. {
  7031. "id": "NewApiUser"
  7032. }
  7033. ],
  7034. "type": "combination"
  7035. },
  7036. "Combination212": {
  7037. "group": [
  7038. {
  7039. "id": "SessionAuth"
  7040. },
  7041. {
  7042. "id": "NewApiUser"
  7043. }
  7044. ],
  7045. "type": "combination"
  7046. },
  7047. "Combination1112": {
  7048. "group": [
  7049. {
  7050. "id": "AccessToken"
  7051. },
  7052. {
  7053. "id": "NewApiUser"
  7054. }
  7055. ],
  7056. "type": "combination"
  7057. },
  7058. "Combination213": {
  7059. "group": [
  7060. {
  7061. "id": "SessionAuth"
  7062. },
  7063. {
  7064. "id": "NewApiUser"
  7065. }
  7066. ],
  7067. "type": "combination"
  7068. },
  7069. "Combination1113": {
  7070. "group": [
  7071. {
  7072. "id": "AccessToken"
  7073. },
  7074. {
  7075. "id": "NewApiUser"
  7076. }
  7077. ],
  7078. "type": "combination"
  7079. },
  7080. "Combination214": {
  7081. "group": [
  7082. {
  7083. "id": "SessionAuth"
  7084. },
  7085. {
  7086. "id": "NewApiUser"
  7087. }
  7088. ],
  7089. "type": "combination"
  7090. },
  7091. "Combination1114": {
  7092. "group": [
  7093. {
  7094. "id": "AccessToken"
  7095. },
  7096. {
  7097. "id": "NewApiUser"
  7098. }
  7099. ],
  7100. "type": "combination"
  7101. },
  7102. "Combination215": {
  7103. "group": [
  7104. {
  7105. "id": "SessionAuth"
  7106. },
  7107. {
  7108. "id": "NewApiUser"
  7109. }
  7110. ],
  7111. "type": "combination"
  7112. },
  7113. "Combination1115": {
  7114. "group": [
  7115. {
  7116. "id": "AccessToken"
  7117. },
  7118. {
  7119. "id": "NewApiUser"
  7120. }
  7121. ],
  7122. "type": "combination"
  7123. },
  7124. "Combination216": {
  7125. "group": [
  7126. {
  7127. "id": "SessionAuth"
  7128. },
  7129. {
  7130. "id": "NewApiUser"
  7131. }
  7132. ],
  7133. "type": "combination"
  7134. },
  7135. "Combination1116": {
  7136. "group": [
  7137. {
  7138. "id": "AccessToken"
  7139. },
  7140. {
  7141. "id": "NewApiUser"
  7142. }
  7143. ],
  7144. "type": "combination"
  7145. },
  7146. "Combination217": {
  7147. "group": [
  7148. {
  7149. "id": "SessionAuth"
  7150. },
  7151. {
  7152. "id": "NewApiUser"
  7153. }
  7154. ],
  7155. "type": "combination"
  7156. },
  7157. "Combination1117": {
  7158. "group": [
  7159. {
  7160. "id": "AccessToken"
  7161. },
  7162. {
  7163. "id": "NewApiUser"
  7164. }
  7165. ],
  7166. "type": "combination"
  7167. },
  7168. "Combination218": {
  7169. "group": [
  7170. {
  7171. "id": "SessionAuth"
  7172. },
  7173. {
  7174. "id": "NewApiUser"
  7175. }
  7176. ],
  7177. "type": "combination"
  7178. },
  7179. "Combination1118": {
  7180. "group": [
  7181. {
  7182. "id": "AccessToken"
  7183. },
  7184. {
  7185. "id": "NewApiUser"
  7186. }
  7187. ],
  7188. "type": "combination"
  7189. },
  7190. "Combination219": {
  7191. "group": [
  7192. {
  7193. "id": "SessionAuth"
  7194. },
  7195. {
  7196. "id": "NewApiUser"
  7197. }
  7198. ],
  7199. "type": "combination"
  7200. },
  7201. "Combination1119": {
  7202. "group": [
  7203. {
  7204. "id": "AccessToken"
  7205. },
  7206. {
  7207. "id": "NewApiUser"
  7208. }
  7209. ],
  7210. "type": "combination"
  7211. },
  7212. "Combination220": {
  7213. "group": [
  7214. {
  7215. "id": "SessionAuth"
  7216. },
  7217. {
  7218. "id": "NewApiUser"
  7219. }
  7220. ],
  7221. "type": "combination"
  7222. },
  7223. "Combination1120": {
  7224. "group": [
  7225. {
  7226. "id": "AccessToken"
  7227. },
  7228. {
  7229. "id": "NewApiUser"
  7230. }
  7231. ],
  7232. "type": "combination"
  7233. }
  7234. }
  7235. },
  7236. "servers": [],
  7237. "security": [
  7238. {
  7239. "BearerAuth": []
  7240. }
  7241. ]
  7242. }