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.",
"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, and a handle.
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.",
"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
API key as a bearer token: Authorization: Bearer bpx_live_xxx
Query Parameters
mine = made by you; saved = kept from the free library or from another member; house = the free library.
all, mine, saved, house Words that must all appear in the outfit's name, handle, description, colours or tags (e.g. red dress).
One shelf.
everyday, work, formal, party, sport, swim, outerwear, sleepwear, underwear, costume, traditional, seasonal A colour the outfit has (e.g. navy).
1 <= x <= 200