RBLX/ai
CommunityPricingBlog1Docs

Getting Started

IntroductionExamplesChangelog

Guide

Best Results

API

IntroductionGet Image OperationGenerate Icons & ThumbnailsGenerate Vector IconsGenerate LogosCommunity GraphicsGraphicsAccount

RBLX/ai

RBLX/ai is designed to help you create high-quality & engaging Roblox graphics with ease and simplicity.

Made with ❤️ by Arxk. For Roblox

General

CommunityPricingBlog

Support

Contact UsDiscordDocs

Legal

Terms of UsePrivacy PolicyImage Rules

Extra

ReferralsCreditsRobots

Copyright ©2024 RBLX/ai. All Rights Reserved.

|DiscordTwitter
Documentation
Generate Icons & Thumbnails

Generate Icons & Thumbnails

Using the API to generate icons and thumbnails

/api/v1/generate-icon-thumbnail
import axios from "axios";
 
interface Response {
  success: boolean;
  data: {
    operationId: string;
  };
}
 
const response = await axios.post<Response>(
  "/api/v1/generate-icon-thumbnail",
  {
    prompt: "A person with a sword",
    size: "1024x1024", // Icon
    style: "Default", // Default, Cartoon, Realistic
    perspective: "Default", // Default, Close-up, Medium shot, Wide shot
    robloxUserId: "1234567890", // Optional, integrates Roblox characters
    n: 3,
  },
  {
    headers: {
      "x-api-key": "Bearer <your-token>",
    },
  },
);
 
const { data } = response.data;
console.log(data.operationId); // "1234567890"