API
API documentation
Direct answerBrowse request formats, endpoints, streaming responses, and media capabilities by protocol.
Updated
Explore capabilities and workflows, or copy the overview and its AI reading link.
Anthropic MessagesAnthropic MessagesAnthropic Messages API guideCall Claude-protocol models through Messages while distinguishing this site's recommended Bearer token, compatible x-api-key, and direct-version requirements.Asynchronous image generationGateway asynchronous image extension: create a task with image parameters, then poll for the image. The /v1/videos path does not make this a video task.Audio, transcription, and Realtime APICall speech synthesis, transcription, translation, and WebSocket realtime sessions with correct binary, state, backpressure, and recovery handling.Batch retrieve legacy Suno tasksBatch retrieve legacy Suno tasks; requires a configured legacy Suno channel.Black Forest Labs FLUXGateway FLUX native compatibility route, restricted to flux-3-image. Use the listed model protocols for other FLUX models.Bootstrap account identityCall this first when you have a system token but do not know the account ID.Compatible cumulative usageCompatible cumulative usage. Read-only compatibility for legacy clients.Compatible quota informationCompatible quota information. Read-only compatibility for legacy clients.Complete Guide to Seedance Video Generation with Real-Person ImagesUpload real-person images, complete compliance reviews, find asset UUIDs, and generate videos with one or more image, video, and audio references. Includes complete curl examples, parameter tables, polling, and troubleshooting.Content Moderation safety classification APIClassify risky text or multimodal input, then integrate calibrated thresholds, human review, audit evidence, and explicit failure policy.Create API keys in a batchCreate an API key. Fields and permissions follow this gateway implementation.Create a Kling custom voiceCreate a site voice for kling-4.0 using a local PCM WAV upload or public media URL.Create a Kling elementCreate a site element for kling-4.0 from reference images or a video to keep a character or object consistent across videos.Create an API keyCreate an API key. Fields and permissions follow this gateway implementation.Current gateway integration workflowsChoose workflows based on the current implementation and successful samples, including complete MJ U1 button upscaling.Delete API keys in a batchDelete API keys in a batch within the current credential scope.Delete an API keyDelete an API key. Fields and permissions follow this gateway implementation.Download video task contentDownload video task content. The following is this gateway’s public contract.Embedding and Rerank retrieval APIBuild an evaluated retrieval pipeline with vector recall, reranking, batching, dimensions, index consistency, score calibration, and RAG authorization.EmbeddingsEmbeddingsExport account task records as CSVExport account task records as CSV. Returns data visible to the current account.Export account usage CSVExport account usage CSV within the current credential scope.Export current key usage CSVExport current key usage CSV within the current credential scope.Gemini API guide: GenerateContent, Live, and InteractionsCall GenerateContent and the native gemini-3.8-live WebSocket, handle media and per-turn billing, and understand the Interactions compatibility boundary.Gemini DecisionsNative Gemini multimodal classification, selection and scoring with probabilities and confidence. Synchronous JSON only; request body limit 20 MiB.Gemini Generate ContentGemini Generate ContentGemini Image GenerationGenerate images through Gemini generateContent; responses may contain both text and image parts.Gemini Omni: parameters, scenarios and API guideVideo generation and conversational editing use distinct image, video and continuation fields. Parsed input does not prove successful generation.Get API key detailsGet API key details. Fields and permissions follow this gateway implementation.Get account dashboard consumption statisticsGet account dashboard consumption statistics. Returns data visible to the current account.Get account logs by request IDGet account logs by request ID. Returns data visible to the current account.Get account quota historyGet account quota history. Returns data visible to the current account.Get consumption statistics by sourceGet consumption statistics by source. Returns data visible to the current account.Get current accountGet current account information, CNY balance and consumed amount while preserving raw quota for existing clients.Get current key usageGet current key usage. Fields and permissions follow this gateway implementation.Get detailed account usage statisticsGet detailed account usage statistics. Returns data visible to the current account.Get usage statisticsGet usage statistics. Fields and permissions follow this gateway implementation.Get usage summaryAggregate the current account’s recorded requests, errors, tokens and quota.HappyHorse: parameters, scenarios and API guidet2v uses text, i2v a first frame and r2v reference images. Version 1.1 r2v does not mean video input.Image GenerationImage GenerationImage generation and editing APIGenerate and edit images through the site's OpenAI-compatible endpoints, then handle outputs, failures, safety, and cost in production.Interpretation WebSocketSimultaneous interpretation over Protobuf binary WebSocket frames.Kling 4.0: parameters, scenarios and API guideThe standard model composes shots from text, frame images and image/video references. Create a custom voice before referencing voice_id. Flash uses a different voice contract.Kling-style asynchronous media APICreate Kling video, image, and audio jobs through this site's /kling/v1 compatibility routes while separating direct authentication, job states, and output lifetime.Legacy Apifox compatibility and migrationDistinguish documented contracts, conditional support, retired routes and unverified features using the gateway implementation.Legacy Suno musicLegacy Suno music; requires a configured legacy Suno channel.Legacy usage lookup by keyLegacy usage lookup by key; the contract below follows this gateway implementation.List API keysList API keys. Fields and permissions follow this gateway implementation.List account Midjourney task recordsList account Midjourney task records. Returns data visible to the current account.List account groups and multipliersList account groups and multipliers within the current credential scope.List account model choicesList account model choices within the current credential scope.List assignable API key groupsList assignable API key groups. The following is this gateway’s public contract.List callable modelsList callable models. Fields and permissions follow this gateway implementation.List current account task recordsList current account task records within the current credential scope.List models in Gemini formatList models in Gemini format within the current credential scope.List models through the Gemini compatible endpointList models through the Gemini compatible endpoint within the current credential scope.List usage logsList usage logs. Fields and permissions follow this gateway implementation.Midjourney U1 button upscaleUpscale the first image using the actual U1 button from a successful source task via /submit/action; requires a source channel that supports button actions.Midjourney high variationUse the mj_high_variation action through this gateway; no model field is required.Midjourney imagineUse the mj_imagine action through this gateway; no model field is required.Midjourney panUse the mj_pan action through this gateway; no model field is required.Midjourney task compatibility protocolSubmit, poll, and retain Midjourney jobs through this site's /mj compatibility routes while respecting the boundary with Midjourney's official product and terms.MiniMax-H3 / Context-IR: parameters, scenarios and API guideH3 generates videos; Context-IR asynchronously improves prompts and returns text. Regeneration requires an eligible H3 source and is not generic transcoding.Model-specific scenarios and support boundariesDistinguish documented contracts, conditional support, retired routes and unverified features using the gateway implementation.OpenAI Chat CompletionsOpenAI Chat CompletionsOpenAI Image EditOpenAI Image EditOpenAI ResponsesOpenAI ResponsesOpenAI-compatible API guideUse one base URL, a Bearer API key, and an exact model name across chat, Responses, and media endpoints.Patch an API keyOnly explicitly supplied fields are updated. Omitted fields stay unchanged; 0 and false are preserved.Patch the current profilePatch the current profile. The following is this gateway’s public contract.Query a Kling element taskPoll a site creation task and retrieve element_id for video generation.Query a Kling voice taskPoll a site creation task and retrieve voice_id for video generation.Read current system tokenRead current system token. Returns data visible to the current account.Retrieve Midjourney tasks in a batchRetrieve Midjourney tasks in a batch; the contract below follows this gateway implementation.Retrieve a Midjourney taskRetrieve a Midjourney task. The following is this gateway’s public contract.Retrieve a legacy Suno taskRetrieve a legacy Suno task; requires a configured legacy Suno channel.Retrieve a native FLUX image taskRetrieve a native FLUX image task. The following is this gateway’s public contract.Retrieve a unified video or image taskRetrieve a unified video or image task. The following is this gateway’s public contract.Retrieve account level limitsRetrieve account level limits within the current credential scope.Retrieve image results by request IDRetrieve image results by request ID. The following is this gateway’s public contract.Retrieve model metadataList callable models. Fields and permissions follow this gateway implementation.Retrieve request image or task resultsRetrieve image results by request ID. The following is this gateway’s public contract.Retrieve usage logs for the current API keyList usage logs. Fields and permissions follow this gateway implementation.Reveal API keys in a batchReveal API keys in a batch within the current credential scope.Reveal an API keyReveal an API key. Fields and permissions follow this gateway implementation.Rotate system tokenRotate system token. Returns data visible to the current account.Runway: parameters, scenarios and API guideThe catalog includes runway-vip-video without a callable endpoint definition in the current public listing. Official Gen requests or generic video fields cannot be assumed to work here.Search API keysList API keys. Fields and permissions follow this gateway implementation.Seedance 2.0 / 2.5: parameters, scenarios and API guideUse text, frames, multimodal references and character assets. Version 2.5 also has draft and draft-to-final workflows; advanced parameters are version-specific.Sora: parameters, scenarios and API guideFor short text- or image-guided videos. Site sora-2, sora-2-pro and legacy size/duration aliases are distinct entries.Suno feed batch lookupSuno feed batch lookup; requires a configured legacy Suno channel.Suno feed lookupSuno feed lookup; requires a configured legacy Suno channel.Suno music task-proxy protocolSubmit music, lyrics, and continuation jobs through this site's /suno proxy, poll normalized states, and retain audio safely.Tool calling and structured output APIDeclare function tools through Responses or Chat Completions, execute controlled side effects, and validate strict JSON Schema output.Update API keys in a batchUpdate API keys in a batch within the current credential scope.Update an API keyUpdate an API key. Fields and permissions follow this gateway implementation.Veo: parameters, scenarios and API guideFor shot creation and image-guided video. Site veo2/veo3/veo3.1 and fast/pro/frames names are catalog aliases, not automatically official API IDs.Video generation task APICreate, poll, and download video tasks while handling queued, in_progress, completed, failed, expiry, and production recovery.Video model families and complete API examplesChoose media, parameters and task flows for text, frames, multimodal references, voices, editing and drafts.Vidu Q3 Ad: parameters, scenarios and API guideVidu Q3 Ad supports Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3 Drama: parameters, scenarios and API guideVidu Q3 Drama supports Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3 Mix: parameters, scenarios and API guideVidu Q3 Mix supports Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3 Pro Fast: parameters, scenarios and API guideVidu Q3 Pro Fast supports Image to video, First/last frames. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3 Pro: parameters, scenarios and API guideVidu Q3 Pro supports Text to video, Image to video, First/last frames. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3 Turbo: parameters, scenarios and API guideVidu Q3 Turbo supports Text to video, Image to video, First/last frames, Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q3: parameters, scenarios and API guideVidu Q3 supports Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu Q4 Preview: parameters, scenarios and API guideVidu Q4 Preview supports Image to video, Image references. This guide covers official creation parameters, mode limits and site field mappings. Parameters marked unavailable describe provider capabilities and are excluded from runnable site examples.Vidu: parameters, scenarios and API guideConfigured Vidu Q3/Q4 models have individual parameter and request guides. This page retains checks for other unverified models and does not establish their availability.Wan 3.0: parameters, scenarios and API guideUse for product shots, motion references, image animation, sound and document-based videos. Choose frame control or multimodal references explicitly.即梦 / Jimeng: parameters, scenarios and API guideJimeng image and video tasks differ. A public video endpoint was not verified; image examples are not video requests.
兔子API