import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.tasks.run({ llmModel: 'openai/gpt-5', task: 'x' });
console.log(response.id);{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"streamUrl": "<string>",
"token": "<string>"
}import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.tasks.run({ llmModel: 'openai/gpt-5', task: 'x' });
console.log(response.id);{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"streamUrl": "<string>",
"token": "<string>"
}Bearer token via Authorization header
openai/gpt-5, google/gemini-2.5-flash, google/gemini-2.5-pro, google/gemini-3-pro-preview, anthropic/claude-sonnet-4.5, minimax/minimax-m2, moonshotai/kimi-k2-thinking 1Show child attributes
US, BR, FR, DE, IN, JP, KR, ZA Was this page helpful?