support remote api to create pipeline

support remote api to create pipeline.