API:Components
API Endpoint Path
required
AI Prompt Generator
api/1/ai-prompt-generator
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI prompt templates
token
required
BUYFROMLO API token. Free and paid subscription APIs are available: /api/3/ai-prompt-generator, and accessible to on-site APP on /app/3/ai-prompt-generator as well
originalBrief
required
Input a image type and several core keywords which are up to 20 and up to 500 English characters. Here are the image type options: Portrait, Interior Design, City View, Animal Photo, Drink Photo, Comicbook, Pixel, Pixar, Food Photo, Anime Character, Nature, Flat, Sticker, Logo, Product Photo, Icon, Fashion, Gradient, Dragon, Vehicle, Character, Character with text, Cartoon with text, Event, Plant Photo, Toy Photo, Cartoon Character, Cyberpunk photoshoot, Drawing, Travel, eCommerce, futuristic, Cinematic art, Cultural art, Urban Architecture
keywords
Optional
Input "no" if you don't have any specific keywords. Or Add some specific keyword that is taken account
negativeprompt
Optional
Input "no" if you don't have any negative prompts. Or Add the negative prompt to enrich the image effect and shape a better dimension if it's applicable
AI Prompt Generator
api/1/ai-prompt-generator
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/ai-prompt-generator"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalBrief = ""
keywords = ""
## optional arguments and parameters ##
negativeprompt=""
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(
apiendpoint,
json={
"originalBrief": originalBrief,
"keywords": keywords,
"negativeprompt": negativeprompt,
}, headers= headers
)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"AI prompt"
}
The BUYFROMLO Shopify Product scraper API allows you to scrape product information from any webshop built using the Shopify platform.
You can scrape up to 500 SKUs per request.
The scraped results include 15+ product data metrics, such as pricing, date_created, product name, and more.
Yes, the API supports scraping both top domain and subdomain Shopify webshop domains.
Yes, the API is intended for personal use only.
You can find more information regarding API usage obligation and liability in the Legal Terms of Service and Condition.
The endpoint path for the API is \/api\/1\/shopifyTracker.
The API supports JSON and 20\/minute data formats.
The data source for the API is Shopify.
Yes, there is a limit of 500 requests per month.