58API Help Center58API Help Center
User GuideAI ApplicationsAPI DocumentationHelp & Support

Infinite Canvas - Multi-modal AI creation workbench

Configure tokens on the 58API infinite canvas, connect text, pictures, video and audio nodes, and use Codex Agent to automatically build workflows.

Scope of application

The infinite canvas is suitable for creative tasks with multiple steps, multiple materials, requiring reuse of nodes or letting Agent assist in orchestration. When you just want to generate images or videos directly, it will be faster to use the corresponding workbench.

58API Infinite Canvas Put prompt words, pictures, videos, audio and generation configurations on the same scalable canvas. The connections between nodes determine which content will be sent to the next generation as prompt words or reference materials.

Preparation before use

  1. Log in to 58API, create an available Token, and confirm that the balance is sufficient.
  2. Open Infinite Canvas using modern desktop browsers like Chrome, Edge, and more.
  3. It is recommended to use a computer for complex projects; mobile phones and tablets are more suitable for viewing and initiating simple tasks.

Configure 58API Token

  1. Click Configure in the upper right corner of the canvas.
  2. Enter Channel, find Default Channel (the name is displayed as 58API on the edit page) and click Edit. The interface address has been fixed at 58API and does not need to be modified.
  3. Fill in the API Key field with 58API Token and save.
  4. Select default image, video, text, and audio models as needed in Preferences.
  5. Return to the canvas and use 1 picture to do a test generation; the picture can be produced normally and displayed in the 58API console. Usage log Only when you see this request, it means that the Token has taken effect. The model in the model drop-down box is preset by the default channel. It will also be displayed when the Token is not filled in. It cannot be used to judge whether the Token is correct.

Do not disclose Token

Token should only be filled in on the configuration page and should not be placed in canvas text, screenshots or chat messages. The exported global configuration may contain API Keys and WebDAV credentials and can only be saved on trusted devices.

Create your first image flow

The following completes a basic process of "text node → graph configuration → image result".

1. Create a new canvas

Select New Canvas from the top canvas menu, or create a project on the My Canvas page.

2. Add text node

Click Text on the bottom toolbar and enter a description of the screen, for example:

一只站在蓝色几何网格上的白色纸鹤,极简产品插画,柔和工作室灯光

3. Add build configuration

Click Generate Configuration on the bottom toolbar, switch the type to Generated Image, and select the model, quality, scale and number of generated images.

4. Connect and check input

Drag from the text node's connection point to the build configuration node. The configuration node will identify the connected prompt words and reference materials; click Assemble Prompt Words to check the content used in this task.

5. Start generating

Click Start Generation in the configuration node. After the task is completed, the image will appear as a new result node and automatically connected to the corresponding generation configuration.

The picture below is the canvas after actual generation: the left side is the text node, the middle is the image configuration, and the right side is the automatically created image result node.

Text nodes, graph configurations and image results in infinite canvas

Result nodes can be downloaded, added to My Assets, or continued to connect to new image or video configurations.

Continue to expand your workflow

Use reference images to modify images

  1. Add an image from the bottom toolbar, or insert an existing image from My Assets.
  2. Connect the image node to the raw image configuration.
  3. Connect another text node to describe what needs to be retained and modified.
  4. Start building after checking model, scale and quality.

Multiple reference pictures will enter the task in the order of connection. It is recommended to use "Figure 1, Figure 2..." in the prompt words to clarify the purpose of each picture.

Generate video from images

  1. Select the image node and add an action and camera prompt.
  2. Create a new generation configuration and switch the type to Video.
  3. Connect image and text nodes to the video configuration.
  4. When the selected model provides Generation Mode: If you want the picture to be the first frame of the video, select First and Last Frame (the first picture is the first frame, the second picture is the last frame; when only one picture is connected, only the first frame is used); if you only want to refer to people, products or styles, select All-Round Reference (the picture will not be used as the first frame). Then press the page display to select the ratio, resolution, duration and sound, and then start generating.

Different models support different reference materials and parameters. After switching models, hidden or disabled options indicate that the current model does not support them.

Generate text or speech

  • Text: Connect the original requirements, select the text type and model, which can be used for copywriting, prompt word polishing or storyboard planning;
  • Audio: Connect the text that needs to be read aloud, select the model, timbre, format and speaking speed according to the interface, and the result will be a playable and downloadable audio node.

The generated text can also be continuously connected to images, videos or audio configurations to form a continuous flow.

Using Codex Agent

Once connected, you can let Codex create, connect, inspect, and organize the current canvas using natural language.

Install 58API canvas plug-in

Repository access: blackxl/58api-infinite-canvas is currently private. The local plugin installation steps below are only for users who have been granted repository access; cloning without access will fail. Other users can use the online canvas at https://canvas.58api.net without cloning the repository.

Prerequisite: Node.js 18 or higher has been installed on this machine (the plug-in passes npx -y @basketikun/canvas-agent@latest mcp Start the local Canvas Agent). Can be run in terminal node -v confirm.

Run in Codex:

git clone --branch canvas58api https://github.com/blackxl/58api-infinite-canvas.git
cd 58api-infinite-canvas
codex plugin marketplace add "$(pwd)"
codex plugin add infinite-canvas@infinite-canvas-local

After installation, restart Codex or create a new task and enter:

帮我打开并连接到 58API 画布

After Codex Connected is displayed at the top of the canvas, you can let the Agent operate the current page. For example:

在当前画布搭建一个 16:9 产品海报流程:先创建提示词和 4 张图片的生成配置,连接并排列整齐,先不要执行生成。

Build first, then confirm the generation

Batch images, long videos, or multiple video tasks may incur higher charges. It is recommended to let the Agent create nodes and connections first, check the prompt words, reference materials, models and quantities, and then explicitly request to start generation.

The installation command and pinned running version of the plugin shall follow the 58API Infinite Canvas repository. The browser, Codex and local Canvas Agent need to be running on the same computer.

Manage and reuse content

Functionuse
Prompt thesaurusSearch pictures and video cases, copy prompt words or add "My Assets"
my assetsSave commonly used text, character makeup images, product anchor images, videos and other generated results
my canvasCreate, rename, import, export, or delete canvas items
WebDAVSync canvas, assets, history and local media; does not include 58API Token
Minimap and viewCheck the node distribution and reset the view; when there are many nodes, the Agent can also check the dangling nodes and layout them.

The prompt database supports classification, tags and keyword searches. The case is suitable as a starting point and should still be replaced with your own subject, brand, composition and lens requirements when used.

Infinite Canvas' library of image and video prompts

The number and categories of prompt words will be continuously updated, based on the current display on the page.

Common operations

operateshortcut key or method
Select or panUse the bottom mode button; temporary switching can be done by dragging with space
Paste text or imageCtrl / Cmd + V
CancelCtrl / Cmd + Z
RedoCtrl / Cmd + Shift + Z
Delete selected nodeDelete / Backspace
View all nodesClick on the minimap or Reset View

Save and backup

Canvas, assets, history and local media are saved in the current browser by default. Clearing website data, using incognito mode, changing browsers, or changing devices may cause content to become invisible.

Important projects are recommended regularly:

  1. Download final images, video and audio;
  2. Export canvas and key assets;
  3. Test the connection and perform synchronization in Configuration → WebDAV.

After changing devices, WebDAV can resume synchronized content, but the 58API Token still needs to be filled in again.

Verification Checklist

  • The test generation with 1 picture was successful, and the corresponding request appeared in the 58API usage log.
  • Displays a connection between the text node and the build configuration.
  • After clicking Start Generation, a new result node appears on the canvas.
  • Results can be downloaded, added to assets, or connected to the next step.
  • When using the Agent, "Codex Connected" appears at the top of the canvas.

FAQ

Prompt "Please configure API Key first" or "Authentication failed"

Go back to Configuration → Channel → Default Channel → Edit, re-paste the complete 58API Token and save it; also confirm that the balance is sufficient and the selected model is available in the token group. If Start Generation is not available, check that the Configuration node has the model selected and has prompt words or reference material required by the selected model connected.

Parameters or material entry changes after switching models

This is normal behavior. The number of reference images, scale, clarity, duration, transparent backgrounds, and sound capabilities are all determined by the current model.

Agent is not connected

Verify that the plugin is installed and loaded in the new Codex session, and that the browser and Codex are on the same computer. Reopen the canvas according to the current instructions of the plug-in repository; do not mistake the local Connect token for the 58API Token. Also confirm that the terminal can run normally node -v(requires 18 or higher) and npx -v; When Node.js is not installed, the plug-in cannot start the local Agent. After installation, restart Codex and try again.

Can't find the work after refreshing

Confirm that you are using the same browser and browser user, and check whether the website data has been cleaned. Content that has been downloaded, exported, or synced to WebDAV can be restored from backup.

The node is too messy or cannot be found

Use the mini map to view the distribution and click Reset View; after selecting the relevant nodes, they can be moved, grouped or deleted, or the Agent can check the dangling nodes and rearrange them.

Release Notes

The screenshot version is v0.15.1. The subsequent layout, model and parameters may change, please refer to the current instructions on the online page and plug-in warehouse.