Published sdk-go/v3 module install करें।
packages/sdk/sdk-go/index.go का local wrapper अभी ये methods देता है:
GenerateText(...)
GenerateResponse(...)
GenerateEmbedding(...)
GenerateModeration(...)
CreateSpeech(...), CreateTranscription(...), CreateTranslation(...)
CreateAnthropicMessage(...)
GetModels(...)
GetModelEndpointCapabilities(...), CheckModelParameters(...)
ListOrganisations(...)
ListPricingModels(...)
CalculatePricing(...)
ListApiKeys(...)
CreateApiKey(...), UpdateApiKey(...), DeleteApiKey(...)
GetApiKey(...)
ListWorkspaces(...), GetWorkspace(...), CreateWorkspace(...), UpdateWorkspace(...), DeleteWorkspace(...)
GetCurrentApiKey(...)
ListEndpoints(...)
ListProviders(...)
GetAnalytics(...), GetCredits(...), GetActivity(...)
CreateBatch(...), RetrieveBatch(...), CancelBatch(...)
GetAsyncJobWebSocketURL(...), GetBatchWebSocketURL(...), GetVideoWebSocketURL(...), client.AsyncJobs.WebSocketURL(...)
ListFiles(...), RetrieveFile(...), RetrieveFileContent(...)
RetrieveVideoContent(...), GetVideoDownloadURL(...)
GetGeneration(...)
Health(...)
GetModelDeprecationInfo(...), ValidateModel(...)
CreateImage(...), CreateImageEdit(...)
GenerateVideo(...), GetVideo(...), CancelVideo(...), DeleteVideo(...)
ListVideoModels(...), ListVideos(...)
जो endpoints अभी wrapper में नहीं आए हैं, उनके लिए packages/sdk/sdk-go/src/gen में generated client सीधे उपयोग करें।
CheckModelParameters प्रदाता रूट के लाइव मेटाडेटा से हर पैरामीटर को supported, partial, unsupported या unknown चिह्नित करता है, घोषित मानों और सीमाओं की जाँच करता है और पूरे पैरामीटर सेट को स्वीकार करने वाले रूट लौटाता है। अंतिम संशोधन 2 अक्टूबर 2026