Install
openclaw skills install infographic-generatorTạo ảnh infographic, banner hoặc poster trực tiếp bằng 1 prompt gửi tới API tạo ảnh qua 9Router.
openclaw skills install infographic-generatorKhi người dùng yêu cầu tạo ảnh infographic, tin tức, cẩm nang, hoặc poster bằng tiếng Việt, hãy sử dụng skill này để gọi trực tiếp API tạo ảnh qua script image-generator.js. Phương pháp này tạo ra các tác phẩm thiết kế đồng nhất và tuyệt đẹp chỉ bằng một câu prompt chi tiết duy nhất.
Để tạo ảnh, hãy gọi tool exec để chạy lệnh:
node skills/infographic-generator/image-generator.js "<prompt chi tiết bằng tiếng Anh>" <tên_ảnh>.png
(Ví dụ: node skills/infographic-generator/image-generator.js "A professional grid infographic..." output.png)
Khi gọi API, mặc định kích thước là tỷ lệ 1:1 (hình vuông). Tuy nhiên, hãy tùy biến linh hoạt theo yêu cầu của người dùng bằng cách điều chỉnh từ khóa mô tả tỷ lệ và khung hình trong prompt:
square aspect ratio, 1:1 square canvas vào prompt. Phù hợp cho các infographic dạng ô lưới hoặc bài đăng mạng xã hội thông thường.vertical poster aspect ratio, 2:3 portrait format, vertical infographic vào prompt. Phù hợp cho cẩm nang chi tiết có nhiều mục (3-9 mục).16:9 landscape aspect ratio, wide horizontal banner vào prompt. Phù hợp cho banner nằm ngang, ảnh bìa.Mọi ảnh infographic/poster được tạo ra bằng skill này bắt buộc phải có dòng chữ bản quyền nằm ở cạnh dưới, canh giữa:
"designed by Williams - trợ lý của tuanminhhole" (hoặc tên bot tương ứng đang chạy).Hãy chọn 1 trong 3 phong cách dưới đây tùy thuộc vào ngữ cảnh yêu cầu:
news editorial infographic style, newspaper grid layout, clear divider lines, minimal serif headers, flat vector icons, professional business theme, clean corporate colors.detailed guide infographic poster, 3x3 numbered grid layout, rounded pastel cards, cute 2D cartoon mascot, playful vector icons, warm cream background, clear numbered badges.neo-brutalism infographic poster, vector cartoon flat 2D style, thick dark solid borders, hard black drop shadows, bright vibrant background cards (yellow, cyan, lime green, orange), playful modern bold typography.Mô hình tạo ảnh hỗ trợ ghi text tiếng Việt cực tốt, nhưng để tránh việc AI tự động dùng các font chữ lạ bị lỗi hiển thị dấu tiếng Việt, hãy áp dụng nghiêm ngặt các quy tắc sau:
decorative, script, handwritten, gothic, calligraphy, futuristic fonts vì chúng hầu như không hỗ trợ tiếng Việt và sẽ tạo ra chữ lỗi phông rất xấu.An infographic poster with [Tỷ lệ khung hình] and [Loại nền].
Art style is modern illustration style mixed with hand-drawn elements.
At the top, the main title in clean bold [Tên Font tiếng Việt chuẩn] reads: '[TIÊU ĐỀ TIẾNG VIỆT LỚN]'.
The layout is divided into [Số lượng] cards or sections [Bố cục chia ô từ trên xuống dưới / Bố cục ô lưới / Quy trình cách thức].
The background and accent colors of the cards are [Màu sắc hài hòa tương ứng phù hợp với chủ đề].
Each card contains a clean flat vector illustration representing [Mô tả ngắn gọn hình vẽ minh họa] and a clear text label in bold [Tên Font tiếng Việt chuẩn] reads: '[NHÃN TIẾNG VIỆT CHO TỪNG Ô]'.
The text throughout the image must be clean, legible, and easy to read.
At the bottom center of the image, there is a clean and tiny centered footer text that reads: 'designed by Williams - trợ lý của tuanminhhole'.
High-resolution, high quality, professional infographic poster, no spelling mistakes.