Syntax is as follows for API access to PDF conversion:
<?xml version="1.0"?> <query> <action>AddMedia</action> <userid/> <userkey/> <source/> <notify/> <format> <output>image</output> <image_format>jpg</image_format> <size>800x0</size> <keep_aspect_ratio>yes</keep_aspect_ratio> <resize_method>resize</resize_method> <quality>80</quality> <sharpen_sigma>0.5</sharpen_sigma> </format> </query>