MCPcopy
hub / github.com/MiniMax-AI/cli / makeBase64Response

Function makeBase64Response

test/sdk/image.test.ts:10–20  ·  view source on GitHub ↗
(images: string[])

Source from the content-addressed store, hash-verified

8import type { ImageResponse } from '../../src/types/api';
9
10function makeBase64Response(images: string[]): ImageResponse {
11 return {
12 base_resp: { status_code: 0, status_msg: 'ok' },
13 data: {
14 image_base64: images,
15 task_id: 'task-456',
16 success_count: images.length,
17 failed_count: 0,
18 },
19 };
20}
21
22function makeUrlResponse(urls: string[]): ImageResponse {
23 return {

Callers 1

image.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected