curl --request GET \
--url https://api.budgetpixel.com/v1/wardrobe \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.budgetpixel.com/v1/wardrobe"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.budgetpixel.com/v1/wardrobe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.budgetpixel.com/v1/wardrobe",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.budgetpixel.com/v1/wardrobe"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.budgetpixel.com/v1/wardrobe")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.budgetpixel.com/v1/wardrobe")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"categories": [
"<string>"
],
"count": 123,
"how_to_use": "<string>",
"items": [
{
"category": "outerwear",
"colors": [
"camel",
"black"
],
"costume_character": "Ada Wong",
"costume_franchise": "Resident Evil",
"description": "Camel mid-length wool blend overcoat with waist belt, black turtleneck, black tailored trousers, black leather dress shoes.",
"fit": "women",
"handle": "camel_belted_overcoat_outfit",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "outfit",
"mention": "@camel_belted_overcoat_outfit",
"name": "Camel Belted Overcoat Outfit",
"preview_url": "<string>",
"source": "mine",
"tags": [
"minimalist",
"autumn",
"smart"
],
"thumbnail_url": "<string>"
}
]
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}List outfits you can use
The outfits you can put on a character: your own, the ones you saved (from the free
library or shared by other members) and the free library, in that order. Each one is a
clean picture of the clothes with nobody in them, a handle, and fit (who it is cut for:
women, men or unisex). To dress a character, pass its gender as fit.
Wearing. Write an outfit’s mention next to a character in the prompt of any image or
video generation on a model that takes characters: "@barry wearing @camel_belted_overcoat_outfit on a rainy street". The outfit’s picture goes with it as a
reference image and its description is added; the person beside it wears it in place of
their own clothes. Up to 4 outfits per generation, beside up to 4 characters; their
pictures count as reference images in the price. When a character and an outfit share a
handle, the character wins.
Free — no credits. Limited to 300 calls per day and 30 a minute per account.
curl --request GET \
--url https://api.budgetpixel.com/v1/wardrobe \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.budgetpixel.com/v1/wardrobe"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.budgetpixel.com/v1/wardrobe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.budgetpixel.com/v1/wardrobe",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.budgetpixel.com/v1/wardrobe"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.budgetpixel.com/v1/wardrobe")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.budgetpixel.com/v1/wardrobe")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"categories": [
"<string>"
],
"count": 123,
"how_to_use": "<string>",
"items": [
{
"category": "outerwear",
"colors": [
"camel",
"black"
],
"costume_character": "Ada Wong",
"costume_franchise": "Resident Evil",
"description": "Camel mid-length wool blend overcoat with waist belt, black turtleneck, black tailored trousers, black leather dress shoes.",
"fit": "women",
"handle": "camel_belted_overcoat_outfit",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "outfit",
"mention": "@camel_belted_overcoat_outfit",
"name": "Camel Belted Overcoat Outfit",
"preview_url": "<string>",
"source": "mine",
"tags": [
"minimalist",
"autumn",
"smart"
],
"thumbnail_url": "<string>"
}
]
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}{
"error": {
"code": "model_not_available",
"message": "<string>",
"type": "invalid_request_error"
}
}Authorizations
Query Parameters
One shelf. cosplay is the anime and game characters' outfits (each names its character and franchise), influencers the AI influencers' signature outfits.
everyday, work, formal, party, sport, swim, outerwear, sleepwear, underwear, costume, traditional, seasonal, cosplay, influencers Who the outfits are cut for. women and men also return the unisex ones, so pass the
character's gender (gender on GET /v1/characters;
female and male work as they are) to get everything that suits them. unisex returns unisex only.
women, men, unisex