oneinfer_chat_completion
ChatGPTRun a chat completion with a OneInfer model. Requires model and messages. Each message has a role of system, user, or assistant, and text content. This spends credits.
oneinfer_create_gpu_machine
ChatGPTCreate a GPU machine for the signed-in account. Requires developerId, providerName, instanceName, imageUrl, and region. imageUrl is a container image reference, not a picture. Optional gpuId, gpuNum, and diskSize. This spends credits.
oneinfer_generate_image
ChatGPTGenerate an image for the signed-in OneInfer user. Requires model and prompt. Optional aspectRatio, size such as 1024x1024, and imageUrl. This spends credits.
oneinfer_generate_video
ChatGPTStart a video for the signed-in OneInfer user. Requires model and prompt. Optional aspectRatio, duration in seconds from 2 to 30, resolution (480p, 720p, or 1080p), and imageUrl. Returns a task. Call oneinfer_get_video_task with that task id. This spends credits.
oneinfer_get_credits
ChatGPTRead the signed-in developer's available credits. Requires developerId, the OneInfer developer id.
oneinfer_get_gpu_pricing
ChatGPTRead GPU prices for the signed-in account. Requires developerId, the OneInfer developer id. providerName is optional.
oneinfer_get_model_pricing
ChatGPTRead prices for OneInfer models. Takes no arguments.
oneinfer_get_video_task
ChatGPTRead one video generation task for the signed-in OneInfer user. Requires taskId from oneinfer_generate_video.
oneinfer_list_gpu_machines
ChatGPTList GPU machines for the signed-in account. Requires developerId, the OneInfer developer id. providerName is optional and defaults to all.
oneinfer_list_gpus
ChatGPTList GPU types available for a machine. Takes no arguments.
oneinfer_list_models
ChatGPTList AI models available to the signed-in OneInfer user. Takes no arguments.
studio_create_endpoint
ChatGPTCreate a dedicated inference endpoint. Requires developerId, providerName, and modelId. Optional name, gpuId, gpuCount, and region. This spends credits.
studio_create_movie
ChatGPTStart a Studio Director movie from a brief. Requires brief. Optional title, targetSeconds, aspectRatio, modelId, resolution, generateAudio, generateBgm, and autoStitch. This spends credits.
studio_generate_music
ChatGPTStart a Studio music track. Requires prompt. Optional genre, durationSeconds, lyrics, instrumental, and modelId. Returns a job. Call studio_get_audio_job with that job id. This spends credits.
studio_generate_voiceover
ChatGPTGenerate a Studio voiceover. Requires script and voiceId. Optional modelId. Returns a job. Call studio_get_audio_job with that job id. This spends credits.
studio_get_audio_job
ChatGPTRead one Studio music or voiceover job. Requires jobId.
studio_get_endpoint_status
ChatGPTRead a dedicated endpoint deployment. Requires developerId and jobId.
studio_get_movie
ChatGPTRead one Studio Director movie, including scene progress. Requires jobId.
studio_get_storage
ChatGPTGet one persistent storage volume from OneInfer Studio. Requires storageId.
studio_list_endpoints
ChatGPTList dedicated inference endpoints for a Studio developer. Requires developerId. providerName is optional and defaults to all.
studio_list_movies
ChatGPTList Studio Director movies for the signed-in user. Takes no arguments.
studio_list_storage
ChatGPTList persistent storage volumes for the signed-in OneInfer Studio account. Takes no arguments.
studio_quote_movie
ChatGPTQuote the credit cost of a Studio movie before it is created. Requires targetSeconds. Optional modelId, resolution, generateAudio, and generateBgm.
studio_stitch_movie
ChatGPTStitch a Studio Director movie's video, voice, and music into the master film. Requires jobId. This spends credits.