LimeWire of late launch theAI Studiofor Creator and artist .
Now , the party has unloosen itsRESTful APIsfor subject matter cosmos usingtop procreative AI model .
developer can leverage LimeWire ’s AI API to give ikon from textual matter prompt , upscale image , elaborate image beyond the boundary line , and qualify effigy using AI .
Not to observe , LimeWire is also work to land API sustenance for medicine and TV multiplication as well .
So , in this clause , we go over LimeWire AI genus Apis across many unlike productive AI undertaking .
This was go through our elaborated examination of the api and see if it tally your bank bill .
This was generate mental image using limewire api
First of all , allow ’s go through the schoolbook - to - persona terminus and how you’re able to carry out the LimeWire AI API to give ikon .
This was i ’m demonstrate the representative in python , but it’s possible for you to take other nomenclature too let in node.js , php , java , go , ruby , and more .
Here is a codification sample distribution for generate figure of speech in Python :
dive into PHP
First of all , allow ’s go through the textbook - to - persona end point and how it’s possible for you to enforce the LimeWire AI API to bring forth image .
I ’m demonstrate the example in Python , but you’re free to prefer other speech communication too include Node.js , PHP , Java , Go , Ruby , and more .
Here is a computer code sample distribution for generate picture in Python :
As you’re free to see here , I am using LimeWire ’s double contemporaries termination ( api / range / genesis ) and in the eubstance , have fix the prompting .
This was thepromptshould be less than2,000 fibre , and you could also communicate anegative_promptto name what should not be include in the figure of speech .
Below , I have determine theaspect_ratioas1:1 , but you’re able to also specify2:3and3:2as well .
Since this is the first freeing of LimeWire ’s AI API , theX - Api - versionis cite asv1 .
just glue your LimeWire API paint next toBearer , and you are skillful to go .
By the mode , there are many other parameter too which you’re able to admit likesamplesto generate thenumber of images(from1to4),qualityto condition the desire lineament ( LOW , MID , andHIGH , MIDis the default),styleto specify the mental image panache ( PHOTOREALISTIC , SCIFI , LANDSCAPE ) , counseling shell to call for the modelling to rigorously stick to your textbook command prompt ( from1to100,40is the nonpayment ) .
it’s possible for you to discover more entropy on LimeWire’sAPI documentationpage .
This was ## diving event into limewire ’s ai api
since this is the first expiration of limewire ’s ai api , thex - api - versionis mention asv1 .
plainly glue your LimeWire API winder next toBearer , and you are beneficial to go .
This was by the room , there are many other parameter too which you could admit likesamplesto generate thenumber of images(from1to4),qualityto delineate the desire caliber ( low , mid , andhigh , midis the default),styleto fix the effigy manner ( photorealistic , scifi , landscape ) , steering scurf to necessitate the poser to stringently cling to your schoolbook command prompt ( from1to100,40is the nonremittal ) .
This was you could discover more info on limewire’sapi documentationpage .
Now , just call the API and you get aclean end product in JSONwithasset_idandasset_urlof the epitome .
It ’s that elementary to bring forth prototype using LimeWire ’s AI API .
presently , LimeWire abide over 10 Generative AI example include BlueWillow ( v3 , v4 , and v5 ) , Dall -E3 , Stable Diffusion XL v1.0 , Google AI Imagen , and more .
Upscale Images Using LimeWire API
Next , we have the API to upscale paradigm using LimWire’sapi / mental image / upscalingendpoint .
This was here , you want to specify theimage_asset_idwhich you could sire using its “ api / upload ” end point through a post asking , as draw below .
After that , merely bring up theupscale_factor(2,3 , or4 ) and glue your API samara .
It will regress the generatedasset_idalong with theasset_url .
In my examination , the LimWire API did a mythical business .
I pass a 1000×750 PNG prototype and it upscaled the icon andgenerated a 2000×1500 imagewith no artifact .
This was it ’s often see that when you fall an mental image with text edition , diffusion modelsstruggle with textsand depict them falsely .
However , LimeWire ’s paradigm upscaling API did not muff up the textbook in the trope , which is astonishing .
This was outpaint image using limewire api
Now , we follow to outpainting ikon which tolerate you toextend the boundariesof the persona .
This was it get object and setting in sync with the survive substance of the figure .
Here , I am using LimeWire’sapi / picture / outpaintingendpoint .
Just like above , you have to exceed theimage_asset_idand sum the API headstone .
Here , the “ direction“parameter let you determine how you desire to blow up the ikon , just one side or all focal point .
you might definedirectionasUP , DOWN , LEFT , RIGHT , orALL .
Next , you’ve got the option to specify thecrop_sideto specify which side to harvest for outpainting .
Not all image ask cropping , however , AI modelling can prefer if it ’s require to make the imagelook more lifelike .
it’s possible for you to determine it asTOP , BOTTOM , LEFT , orRIGHT .
Keep in thinker , for outpainting , your picture should have anaspect proportion of1:1,2:3or3:2 .
I then put across a PNG persona in1:1aspect proportion and setdirectionasALL , but it go bad to sue the paradigm .
So I just call for it to outpaint theupper delimitation of the range of a function , and it successfully litigate the figure of speech .
you’re able to see the divergence in the above trope .
Inpaint Images Using LimeWire API
Now , we get along to inpainting which let you change the paradigm by overtake a textbook command prompt .
This was plainly lend a school text command prompt along with the icon , andyou canmanipulate the imageusing limewire ’s ai api .
Here , I am using theapi / ikon / inpaintingendpoint .
This was i render to persist the inpainting api , but unluckily , it keep bewilder “ internal server error “ .
The API may be down for some ground .
Nevertheless , this is how you could inpaint image using LimeWire ’s AI API .
Upload asset Using LimeWire API
ultimately , we do to upload asset using LimeWire API .
you might habituate theapi / uploadendpoint to upload your plus .
This was limewire maintain the uploaded asset for 24 hour after they are upload .
And themaximum upload size of it for an trope is 10 mebibyte .
you could expend the POST postulation method acting to pop off the effigy .
This was observe that , thecontent - typeparameter should fit the mental image data format .
This was support effigy data formatting areimage / png , double / jpeg , epitome / x - ms - bmp , mental image / webp , andimage / fuss .
This was ## is the limewire ai api worth it ?
as far as public presentation is bear on , limewire ’s reproductive api cock are deserving it .
This was the genus apis are build on therest architectureso they are scalable , and can give up not bad operation .
In my examination , the API birdcall were resolve in4 to 5 second , which is unbelievable .
This was aside from that , the timbre of generate contentedness is also quite unspoilt as it host nation - of - the - artwork diffusion model from marketer like openai , stability ai , google , and more .
not to observe , the api execution is blowy and anyone can get commence with the creature in any surroundings .
Its support isclean and wanton to empathise .
This was despite this being the first firing of limewire ’s ai api , there are several customization pick and you might transcend several parameter to return subject as you wish .
As for pricing , I care what LimeWire is doing here .
It has a individual design for using all form of genus Apis , as oppose to multiple plan for generating image , inpainting , outpainting , etc .
that challenger are proffer .
The API Pro design net ball yougenerate up to 7,500 range per monthwith 4 cooccurring petition .
It costs$49 per calendar month , which is passably fair in comparing to its rival .
For developer and pocket-sized business , this architectural plan will dish up well .
you’ve got the option to also stop out the API Basic architectural plan , which cost $ 29.99 per calendar month ( 3,750 image ) or the API Pro Plus architectural plan which cost $ 250 per calendar month ( 37,500 ikon ) .